GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Javascript question... (https://gfy.com/showthread.php?t=930755)

dready 09-30-2009 08:25 AM

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.

ProG 09-30-2009 10:29 AM

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/

dready 09-30-2009 11:07 AM

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.


All times are GMT -7. The time now is 03:45 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123