Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
06-11-2007, 04:17 PM #1
- Join Date
- Jun 2007
- Thanked 0 Times in 0 Posts
How do I set height/width and remove menubar/scrollbar/toolbar onload?
What I want to do is to make a window move to a certain location, set its height and width values, make it not resizable, and remove the scrollbars, toolbar and menubar. However, I do not want to open a new window, I want to make the current window do this onload, any ideas?
I know I can do this by opening a new window using window.open()
06-11-2007, 05:45 PM #2
- Join Date
- Jun 2002
- Thanked 236 Times in 233 Posts
For security reasons, it cannot be done. Web pages don't own the browser toolbars and menu unlike in desktop applications where it has full control of them. Imagine if you could do this (especially browsers nowadays use tabbed windows), what will happen to other pages opened in other tabs?
Tower of Hanoi Android app (Ad-FREE!)
Tower of Hanoi Android app (FREE!)
Tower of Hanoi Leaderboard
Samegame Facebook App
Samegame Facebook App Leaderboard
vBulletin 5 Floating Bar extension
vBulletin 5 Slideshow extension
vBulletin 5 Quote Selected Text extension
vBulletin 5 Profile Preview Tooltip extension