November 10th, 1999, 01:14 AM
Hello i donęt know how to do a automatic
opening popup can some of you tell me how to do?
November 11th, 1999, 12:53 AM
You didn't specify if you wanted it to popup when the user opens your page or when they leave the page. I wrote this script so that it will open a popup window when you enter the page and when you leave the page. Dpending on what you want, you can modify it.
<TITLE>Opening a Popup Window</TITLE>
<!-- Hide script from old browsers
popupwindow = window.open("somewhere.html","","toolbar=no,location=no,scrollbars=no,resizable=no,width=400,height= 200,left=500,top=200")
// End hiding script from old browsers -->
<BODY onLoad="popup()" onunLoad="popup()">
I also put links to show you how to open and close the window from a link.