Click to See Complete Forum and Search --> : Automatic open parameters on open a window


svenna
03-19-2004, 07:00 AM
I have a few pages i would like to open up like a popup window but without being a popup. Is there some way i can code a page to behave like a popup?
F.ex. resize to 800X600, no menu, no scrollbar etc?

Something like this:
<BODY onload width=770,height=390,location=no,toolbar=no,menubar=no,scrollbars=no,resizable=no

TheBearMay
03-19-2004, 07:14 AM
At the risk of offending Vladdy. :D You can use window.resizeTo(770, 390) to reset the size, but after the window is loaded I can't think of an easy way of altering the other properties. There was a thread a few days ago that discussed using the onload to re-open the window with different attributes.