View Single Post
Old 12-07-2010, 08:47 AM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Quote:
Originally Posted by Nathan View Post
Smokey, would you not have to un-hide the overlay too? Maybe I am wrong, am not that strong with scripted dhtml.

Also, I would add a destruction/hiding of the overlay div in the untrigger() function. just in case loading the iframe for some reason takes longer than 5 seconds.

This way the overlay gets removed if the iframe loads late afterall...
i am going to work on this code to make it a bit cleaner and do some more stuff.

The code shows the overlay after 5 seconds IF the iframe hasn't loaded, by default the overlay is hidden.

Last night i built a dif variation , i'll post once its cleaned up , same basic idea but the user has an option to disable the overlay " proceed without disabling adblock" this will make the overlay go away and trigger a popup a the same time , essentially , if the user can't see ads we ban them from page, but they have an option to continue viewing page after recieving a popup ( in lieu of the ads )
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote