This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes JavaScript and onResize() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JavaScript and onResize()" Watch "JavaScript and onResize()" New topic
Author

JavaScript and onResize()

Brian Quinn
Ranch Hand

Joined: Dec 23, 2003
Posts: 32
I have a page with frames and the user has asked us to limit how small they make the window, so if it gets to a certain point, resize it to a minimum size. I have put the following code in the frame that concerns the user
However, it does not resize the window to 600, and it also won't allow the user to maximize it - any ideas ?

TIA,
Brian
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I will try to explain this tomorrow in my blog, it is a little weird how I did it.



Eric
[ February 15, 2005: Message edited by: Eric Pascarello ]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I posted an explanation on my blog if you care to read:
http://radio.javaranch.com/channel/pascarello/2005/02/16/1108571848000.html

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaScript and onResize()
 
Similar Threads
Window Size
Resize an image while maintaing its aspect ratio..
Warning a user that something will timeout
JFrame size and location problems
JFrame resize problem