Results 1 to 4 of 4

Thread: Disable maximixe

  1. #1

    Thread Starter
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    you cant,

    but you can try this

    Code:
    <script language="javascript" type="text/javascript">
    var defaultWidth = 300;
    var defaultHeight = 300;
    window.onresize = function (evt) {
      if ((document.all && document.body.offsetWidth >= screen.availWidth)
          || (window.outerWidth && window.outerWidth >= screen.availWidth))
        window.resizeTo(defaultWidth, defaultHeight);
    }
    </script>
    Change defaultWidth and defaultHeight to the default amount
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  2. #2
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    Or you can make the page a pop-up... then you can set paramaters like resizeable=0.
    Michael
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Your first mistake is assuming the browser is going to have a maximize button...
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  4. #4
    Frenzied Member
    Join Date
    Feb 2001
    Posts
    1,140
    At PerlMonks they have this lovely voting system. Something like that would be nice here. Josh's response deserves ++ in a -- thread.
    Travis, Kung Foo Journeyman
    As always, RTFM.

    WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
    Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
    YBMS, but Mozilla doesn't.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width