JavaScript

Moderators: None (Apply to moderate this forum)
Number of threads: 2058
Number of posts: 5158

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Remove/Disabling the maximize button Posted by sg123 on 27 Feb 2002 at 3:44 AM
Hi, I have a launch button which opens up the main area of the site in a
new window with no address, status, toolbar and to a fixed size (640x480).

The main site uses a frameset so I as you can imagine, it looks a bit crap when the maximize button is pressed on the open window and the window expands to full screen. I want to be able to keep this window at 640x 480 at all times. I thought the max button in the top right of the window could be disabled/removed in some way...is this true.

Here is the code i am using. I am calling this function
when the link is clicked on the onmousedown event.

function popwin1()
{
window.open
('index2.htm', 'newWin1', 'toolbar=no,directories=no,menubar=no,scrollbars=no,status=no,resizable=no,width=640,height=480');
}


Thank you for any help.
Simon.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.