Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 1st Sep 2011, 03:11 PM   #1
Marketing Automation
War Room Member
 
Join Date: 2011
Location: Palm Beach
Posts: 11
Thanks: 7
Thanked 2 Times in 2 Posts
Default
Script not working in pop-up window.
Share on: 
fb share twitter share gplus share more share

Hello Fellow Warriors,
I need a little help on an exit pop-up script...
The script works fine in a regular browser window...
But when the pop-up window appears, and then, ex'd out, the script does not work.

For instance:
If I go to site xyz.com in a new browser and close that window, the script works (popup appears)
When I close that window out (popup window [abc.com]) the script does not work (no popup).
If I open a new window and go to abc.com (the popup url) and close that out the script works fine.

So the script does not work when it is a popup window; but does when it is opened in a new browser window.

Any help would be appreciated.

<head>
<scriptlanguage="JavaScript"type="text/javascript">
<!--
function unloader() {
SW=window.open(
'http://hupty.com/dwnoffer.html','NewWin','location=yes,menubar=yes,resizable=yes,toolbar=ye s,status=yes,scrollbars=yes, width=850,height=635')
}
// -->
</script>
</head>

<body onunload="unloader();">

Same script for both url's
Thank you!

manthony is offline  
Closed Thread


Bookmarks

Tags
popup, script, window, working


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 11:57 AM.