Triple onunload dilemma

admin

Administrator
Staff member
Hello,

I have this triple exit console script:

<!Begin Triple Exit Code -->
<SCRIPT language="JavaScript">var exit=true; function at()
{ if (exit)
open('page1.htm');
open('page2.htm');
open('page3.htm');
} </SCRIPT>
<!End Triple Exit Code -->

onunload="at()"

I want to have control over the dimensions of the pops. I tried modifing the code with something like this:

<SCRIPT language="JavaScript">
var exit=true; function at() { if
(exit) open('page1.htm', "displayWindow", "toolbar=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=60,height=60");
open('page3.htm', "displayWindow", "toolbar=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=60,height=60");
open('page4.htm', "displayWindow", "toolbar=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=yes,width=60,height=60");
} </SCRIPT>

But only the first popup excutes and nothing else. I'm not too javascript savvy. Can someone please help me out?

Thank You
Fess
 
Back
Top