In your first page use:
<SCRIPT LANGUAGE="Javascript">
window.open("page.html","Alert","toolbar=no,location=no,directories=no,status=no," + "menubar=no,scrollbars=no,resizable=no," + "width=#,height=#,screenX=#,screenY=#"
// End-->
</SCRIPT>
And call it however you want. If you want the popup to open the second one automatically then just put that code in as is. If you want to call the second popup with a button or link or whatever then you will have to turn that code into a function.
You mean a new window--window.open--or a popup, popup--window.createPopup?
If it is a new window, you can just use window.open in the new window. View my tutorial here for stuff all about new windows and window.open:
FAQ215-2087
Otherwise, you can put the script for the popup that was already used in the new popup(call it something else if you are using a variable name). I know you CAN'T open two popups from the same window so I'm not sure if it will work or not, but you can try it.
LOL I wondered why you didn't reference anything I said.
BTW - I have seen one command open 2 seperate popups before. Can't remember where though. But I remember it was at a tutorial site and they showed how to do it. Wish I could find it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.