![]() |
exit popup issue...
how come it works when I try it on my computer, but when I upload it on the server and close a window nothing happens? but when I refresh the page that popup appears ? here's the code I use
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'> <!-- var popupWindow=null; function popup(mypage,myname,w,h,pos,infocus){ if (pos == 'random') {LeftPosition=(screen.width)?Math.floor(Math.rando m()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Mat h.random()*((screen.height-h)-75)):100;} else {LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;} settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=yes,location=no,directories=no,status =no,menubar=no,toolbar=no,resizable=yes';popupWind ow=window.open('',myname,settings); if(infocus=='front'){popupWindow.focus();popupWind ow.location=mypage;} if(infocus=='back'){popupWindow.blur();popupWindow .location=mypage;popupWindow.blur();} } // --> </script> <body onUnload="popup('http://pageiuse.com','pagename','900','900','center','fro nt');"> |
i dont think exit popups have worked in ages
|
if your page is big or slow then you might just not be getting to the unload. i think the better route if u are into this sort of stuff is to do a popunder with onload instead. then your popup is guaranteed to load.
of course everyone has popup blockers running now so this project of yours is probably a huge waste of time. |
Quote:
|
If you would like assistance with your exit strategy to make more money let hit me up and we can discuss. Our exit-chat not only brings back customers but we also can assist in your exit-chain as well.
|
Quote:
Quote:
|
| All times are GMT -7. The time now is 06:17 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123