• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Disabling Maximize Button In IE and Netscape

 
Glenn Standing
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Glenn Standing
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic