![]() |
Javascript Exit Popup Code: Please
Hello GFY I am looking for a exit popup script that works. If it works in both IE and Firefox thats a plus.
Your help is greatly appreciated! Thanks ahead of time :thumbsup |
Bump....
|
Code:
<SCRIPT LANGUAGE="JavaScript">Code:
onUnload="popup('popup.html')"Code:
<body bgcolor="white" onUnload="popup('popup.html')">To enable this, we need to then add code to all the links and buttons, where if the user clicks them we do *not* want the popup to appear. Other links and buttons we just leave well alone. This is the code we need: Code:
onclick="exit=false;"We add this code to the relevant tags for buttons and links as follows. Here's an example for a standard link: Code:
<a href="purchase.html" onclick="exit=false;">Buy now!</a>Code:
<input type="button" value="Buy now!" onclick="exit=false;"> |
Ive seen a few sites use a 1x1 pixel size flash .swf file that is able to popup a window without getting blocked by the popup blockers which work on javascript - anyone know where there is more info on something like that?
|
Quote:
|
Cant do exit pops in firefox from what I understand. Smokey has some good stuff for doing it in IE though. Search by his name
|
Quote:
|
Thanks for the info people very much appreciated....
|
| All times are GMT -7. The time now is 12:27 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123