Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: resize window


Message #1 by "Michael Goldman" <mg188@h...> on Sat, 9 Dec 2000 14:30:53 -0800
"resizable" works great.   Thanks

----- Original Message -----
From: <peter.edwards@n...>
To: "javascript" <javascript@p...>
Sent: Monday, December 11, 2000 4:10 AM
Subject: [javascript] Re: resize window


> Window.open() takes three arguments, the url of the page to load, the name
> of the new window created, and a string with all the window features
> specified in it.
> eg. window.open("url goes here","name goes here","features go here")
>
> If the features string is omitted, the window opens at a default size with
> no menubars, toolbars etc. To make the window resizable, put the word
> "resizable" in the list of features, i.e. to open a scrollable, resizable
> window with the address bar, menubar and status bar, the feature list
> would be "resizable,scrollbars,location,menubar,status". You can also
> resize the window once it is open by calling the resizeBy() or resizeTo()
> methods of the new window object (although I don't think this will work in
> Netscape unnless you have a signed script).
>

  Return to Index