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 forconsole ads? (https://gfy.com/showthread.php?t=39923)

H Randy 10-05-2001 10:40 AM

javascript forconsole ads?
 
where can i find the javascript code for console ads that load on exit or enter when a link is not clicked and javascript that opens up a new full size browser window if no one clicks on any links?

I tried a few sites like javascript.com and a few others with no luck.

JackFoley 10-05-2001 10:45 AM

In between your HEAD tags (make sure to put Javascript tags aroung it too):

function popWin() {
window.open('advert.html', '_blank', 'width=300,height=300');
}

Then in your BODY tag:

onload="javascript:popWin();"

OR

body onUnload="javascript :popWin();"

Hard to explain on this board because it doesn't handle html tag very well.

------------------
I'm too lazy to run this shit.

[This message has been edited by JackFoley (edited 10-05-2001).]

[This message has been edited by JackFoley (edited 10-05-2001).]


All times are GMT -7. The time now is 08:33 AM.

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