This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Disabling Maximize Button In IE and Netscape Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Disabling Maximize Button In IE and Netscape" Watch "Disabling Maximize Button In IE and Netscape" New topic
Author

Disabling Maximize Button In IE and Netscape

Glenn Standing
Greenhorn

Joined: Sep 26, 2001
Posts: 2
Hi,
I was just wondering if anyone knew of a way to disable the maximize button on a popup window displaying a webpage, any point in the right direction would be very helpful
Thanx
Glenn
Ian Darwin
author
Ranch Hand

Joined: Aug 03, 2001
Posts: 64
Your question is a bit vague, as you didn't say how you are starting these windows. If they are actual netscape or MSIE windows there probably isn't a way to do this, though there might be in JavaScript (a web-page scripting language that is only vaguely even similar to Java, despite the name). In general such things as window decorations are highly operating system dependant; what works on MS-WIndows may not work on either of the MacOSes nor on UNIX.
Originally posted by Glenn Standing:
Hi,
I was just wondering if anyone knew of a way to disable the maximize button on a popup window displaying a webpage, any point in the right direction would be very helpful
Thanx
Glenn


------------------
Ian Darwin,
Author of Java Cookbook: Solutions and Examples for Java Developers


Ian Darwin
Many questions are answered in my Java Cookbook, 2nd Edition
Glenn Standing
Greenhorn

Joined: Sep 26, 2001
Posts: 2
Thanks Ian it was just a quick question anyway, i was using javascript to open a popup window, and was just wondering if it was possible, i have searched the net high and low but cant seem to find anything, so was assuming it was not workable, anyway thanks again for your help
Glenn
Biju Kurian
Greenhorn

Joined: Aug 23, 2001
Posts: 1
Hi Glenn,
Try using only required option parameters for window.open
For example:
<code>
href = "some link";
windowName = "myWin";
window.open(href, windowName,
'width=400,height=200,scrollbars=yes');
</code>
Biku


biku
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Disabling Maximize Button In IE and Netscape
 
Similar Threads
Disable JFileChooser Maxmize button in Mac
JDialog
Maximixe button on JDialog
JFrame Maximize button
Disabling minimize and maximie button