![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Oct 2002
Location: Toronto, ON
Posts: 5,247
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Apr 2009
Posts: 1,319
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Oct 2002
Location: Toronto, ON
Posts: 5,247
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |