cybercam
09-12-2003, 11:34 PM
How do I make a popup that opens when a visitor loads my page? (I know it probally
says the cosde some where on the site, but I can't find it.)
says the cosde some where on the site, but I can't find it.)
|
View Full Version : pop ups? cybercam 09-12-2003, 11:34 PM How do I make a popup that opens when a visitor loads my page? (I know it probally says the cosde some where on the site, but I can't find it.) starlet 09-12-2003, 11:48 PM In the HEAD <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,men ubar=0,resizable=0,width=500,height=500');"); } // End --> </script> In the BODY <BODY onLoad="javascript:popUp('page.html')"> cybercam 09-12-2003, 11:56 PM thanks :D |