PDA

View Full Version : Pop Up Java Script...


FreeHugeMovies
10-15-2001, 12:49 AM
Hey Guys,

How do I create a pop up Java script?

Thanks,
The Jester

bramdaman
10-15-2001, 12:56 AM
This is an exit pop. Paste it above </head>

<script language="JavaScript">
function exit()
{window.open("http://www.myurl.com/page.html");}
</script>

Paste this in the body tag:
onUnload="exit()"

FreeHugeMovies
10-15-2001, 01:10 AM
I want it when they visit the site they get a pop up not when they exit.


Thanks,
The Jester

Unknown
10-15-2001, 01:13 AM
Originally posted by TheJester:
<STRONG>I want it when they visit the site they get a pop up not when they exit.


Thanks,
The Jester</STRONG>

Then just change onUnload to onLoad...

FreeHugeMovies
10-15-2001, 01:14 AM
Hey,

Sorry here is the URL I am trying to do as well.
http://fhm.adultbouncer.com/popup.html

Thanks,
The Jester

FreeHugeMovies
10-15-2001, 01:30 AM
Okay I got it!!! Sorry guys I am not an html master. Hell, I'm an html idiot but don't tell anyone! :D