PDA

View Full Version : Help with onunload



mcomo
05-10-2009, 09:09 PM
I have included onunload="window.open('http://www.xxx.com')" in my body tag just as I do on my other web site, which is with a different host, but it's not working.

Any ideas why this would not work?

Thank You
mcomo

Early Out
05-10-2009, 09:23 PM
Since this is occurring in the browser, the host can't possibly make any difference.

Just a guess: a window.open will be ignored if you have a popup blocker at work. Perhaps you've told your popup blocker to allow popups from your other website, but not from your new one.

mcomo
05-10-2009, 09:48 PM
Mercy,
Your guess was right....thank you

mcomo


Since this is occurring in the browser, the host can't possibly make any difference.

Just a guess: a window.open will be ignored if you have a popup blocker at work. Perhaps you've told your popup blocker to allow popups from your other website, but not from your new one.

Early Out
05-11-2009, 04:22 AM
I made an entire career solely on the basis of having a pretty good guessing percentage! :)