Two Laptop Bag
The moose likes HTML, CSS and JavaScript and the fly likes window resize Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "window resize" Watch "window resize" New topic

window resize

sneha anant patel

Joined: Sep 04, 2008
Posts: 9

i need to resize my window on login page and keep that size constant for whole application. Means disable navigation bar.

Please help ,
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

*HINT* Have you looked at the various java script functions to do this?

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

like Martijn said,

you can use JavaScript Object "window". This window object represents a browser window.

here you can find the properties and methods of this Object.

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
You can resize the window [that is if the browser has it enabled], but you are not going to be able to remove toolbars, unless it is a pop-up window.

I agree. Here's the link:
subject: window resize
It's not a secret anymore!