Q: How do I open my site in a pop up window?
by Mike Slocombe
Q: We've created a home page with an intro option to enter or get a Flash plug-in.
We want the enter button to open the site in its own window. I can connect the button to an outside Web address, but can't open the movie in any window other than that of the original home page. Can you help?
A: I'd advise extreme caution before foisting an automatic, browser-spawning script on your home page.
Apart from the fact they're deeply irritating, some users will assume it's just another pesky advert and swat it shut on sight. But if you really want to, here's how...
<title>Pop up code</title>
popupWin = window.open('http://www.urban75.com','yoursite','menubar,resizable,dependent, status,width=300,height=200,left=10,top=10')
<body onload= "popup_window()">
The new window will appear when this page loads
I'd recommend increasing your site's accessibility and search-engine 'friendliness' by providing a HTML version of the site as well as the Flash one.
More info, check out: Pop-up code generator