View Full Version : How do I get dual popup to work?

01-16-2003, 11:20 PM
I cannot figure out how to get 2 onunload popups to work on one page. Only one ends up loading. The other one does nothing.

How is this accomplished? I tried putting in duplicates of the same popup code in my page, one pointing to popup.htm and the second one to popup2.htm.

<BODY BGCOLOR="#efefef" onunload="popup('popup.htm');", onunload="popup('popup2.htm');">

<script language="JavaScript">

var exit = true;
function popup()
if( exit )
{ window.open('popup.html','CC', 'scrollbars=no, width=575, height=450');

// -->

function clicked()
exit = false;



01-17-2003, 02:22 AM
/me is just a guessing® here 'cept /me thinks ya have to have just a two® different names for the scripts n' then call 'em like...

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum