Javascript question...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dready
    Confirmed User
    • Oct 2002
    • 5247

    #1

    Javascript question...

    I want to put a transparent GIF over an entire page in a DIV layer so that people can't click, and when they mouseover the page, it disappears.

    I was thinking you could randomize the filename of the GIF to become a single use key, and then call back to the server that it was indeed that filename that the mouseover detected.

    Is the logic in this sound? I want to prevent the layer from being easily circumvented.
    ICQ: 91139591
  • ProG
    Confirmed User
    • Apr 2009
    • 1319

    #2
    Sounds like you should look into using a modal dialog. It could be setup to prevent the user from clicking and you could also setup an onmouseover event to close the dialog.

    http://w3resources.com/top-7-modal-d...pt-comparison/
    History will be kind to me for I intend to write it.

    Comment

    • dready
      Confirmed User
      • Oct 2002
      • 5247

      #3
      That is basically what I want, but it needs to be secure, so that someone would have to be very determined to script a way of circumventing it.
      ICQ: 91139591

      Comment

      Working...