This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes java script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "java script" Watch "java script" New topic
Author

java script

kavins
Greenhorn

Joined: Sep 14, 2002
Posts: 15
i want to make a NON resizable page using java script,how should i go about doing it..
kavin.
Tom Purl
Ranch Hand

Joined: May 24, 2002
Posts: 104
Hi Kavins!
Try this forum instead:
Javascript And HTML


Tom Purl<br />SCJP 1.4
John Lee
Ranch Hand

Joined: Aug 05, 2001
Posts: 2545
An example will be:
DispWin = window.open('about:blank', 'NewWin', 'toolbar=yes, menubar=yes, scrollbars=yes, resizable=no, status=yes, width=1000, height=500') ;
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Moving to the JavaScript forum.


"JavaRanch, where the deer and the Certified play" - David O'Meara
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
was Don said, you would need to use the window.open method to make a window open to a certain size. If you do not want a window to open, you would be stuck with the tool bars, but it can not be resized.
For Pop Up Windows look at this:
http://www10.brinkster.com/A1ien51/scripts/PopUpWinGenV3.htm
For non-resizeable orginal window:
http://www10.brinkster.com/A1ien51/basics/resize.htm
Any other questions just ask
Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java script
 
Similar Threads
Browsing with the back button
Is there a data structure in Java equivalent to the hash in Perl?
java script with servlet
how to get sum for dynamic checkboxes
text field validations