Pop Up Help

porko

Registered Member
Joined
May 25, 2008
Messages
61
Reaction score
19
Does any know how if ther is a simple piece of code that i can insert into
my web pages that will open one of my other sites when they close the close
the window?
Thanks:)
 
you want to look at the onUnload listener.

Code:
<body onUnload="window.open('http://www.mysite.com');">

you can also adjust things like the size and position too, but i'll leave it up to you to search google for that.
 
Ok, that works but what i think i'm looking for is something that makes the new page open underneath the first page so they don't see it until they close the original window.
Thanks
 
Back
Top