aspose file tools*
The moose likes Beginning Java and the fly likes Disabling Maximize Button In IE and Netscape Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
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
 
jQuery in Action, 2nd edition
 
subject: Disabling Maximize Button In IE and Netscape