View Full Version : Exit popups
Crunch
07-09-2000, 10:25 AM
I want to pop up my toplist after my CJ is closed. With scrollbars and not in a small window. Also I have some sponsors who don't want popups opening when their site does so what is the code I can put in the href of the links. Thanks if anyong can help http://adultwebmasterinfo.com/ubb/wink.gif
Jimbo
07-09-2000, 03:26 PM
add a variable in your jave script that goes true or false
var=true;
function exit() {
if (var) {
window.open(blahbalahblah);
}
}
<body onunload="exit()">
then in <a> tag add this
<a onclick="var=false">
I think that would work... tell me if it doesn't I'll work this out http://adultwebmasterinfo.com/ubb/smile.gif
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.