Submit Your Article Forum Rules

Results 1 to 10 of 10

Thread: How do you disable the maximize button so people can't maxim

  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    95

    How do you disable the maximize button so people can't maxim

    ize the screen? Is there some type of script you have to enter or how is it done?

    Thanks
    http://www.domainingblog.com/2005/10...omains-on.html Domaining Blog - ALL-NEW SPECIAL EDITION REPORT: .US Domains on Fire

  2. #2
    As far as I know, you can only do this with a popup window by using resizable=no.

  3. #3
    Senior Member Narasinha's Avatar
    Join Date
    Aug 2003
    Posts
    230

    Disabling browser functionality

    It is generally considered "bad manners" to disable a normal function of the browser. Personally, I become rather irritated with sites that make my browser do things I don't want it to. Disabling right-click is one example. I frequently use right-click to open a link in a new window. If someone uses JavaScript to disable this, they have just reduced the functionality of my browser - and they didn't even ask! ;)

    I think it best to leave browser controls as they are.
    - [url=http://unrelated.dexterityunlimited.com/Relatively Unrelated[/url]

  4. #4
    Member
    Join Date
    Nov 2003
    Posts
    95
    OK, but if anybody knows how it's done I would appreciate it if they could tell me how to do it.

    Thanks
    http://www.domainingblog.com/2005/10...omains-on.html Domaining Blog - ALL-NEW SPECIAL EDITION REPORT: .US Domains on Fire

  5. #5
    Senior Member paulhiles's Avatar
    Join Date
    Jul 2003
    Posts
    2,073
    Quote Originally Posted by TheDoctor
    OK, but if anybody knows how it's done I would appreciate it if they could tell me how to do it.
    I would go along with Narasinha's comments... the average user likes to be in control of their viewing experience... and are usually annoyed when a script takes over the behaviour of their browser.
    However, if they're used responsibly, and in the right setting, these effects can have their uses.
    Here are a couple of URLs you might find useful.

    Splash screen effect (fills monitor screen - IE only!)
    http://webfx.eae.net/dhtml/splashwin/splashwin.html

    Chromeless Windows - Gabriel Suchowolski
    Very cool script, which allows many variables to be set.
    http://www.chromeless.org/

    Have fun!

    Paul

  6. #6
    Member
    Join Date
    Nov 2003
    Posts
    95
    Paul,

    Thanks, I went to the sites but I still don't understand how I would use them to do what I have described. Could you please explain how I would go about doing it?

    Thank you
    http://www.domainingblog.com/2005/10...omains-on.html Domaining Blog - ALL-NEW SPECIAL EDITION REPORT: .US Domains on Fire

  7. #7
    Senior Member paulhiles's Avatar
    Join Date
    Jul 2003
    Posts
    2,073

    Plenty of information there!

    Quote Originally Posted by TheDoctor
    Paul,

    Thanks, I went to the sites but I still don't understand how I would use them to do what I have described. Could you please explain how I would go about doing it?

    Thank you
    If you download the zip file from the 'Chromeless' website, you'll find that the author has gone to the trouble of enclosing sample scripts (that behave in exactly the manner you described), a simple FAQ, and he even hosts a forum on the subject.

    Paul

  8. #8
    Senior Member
    Join Date
    Jul 2003
    Posts
    1,332
    Quote Originally Posted by narasinha
    It is generally considered "bad manners" to disable a normal function of the browser. Personally, I become rather irritated with sites that make my browser do things I don't want it to. Disabling right-click is one example. I frequently use right-click to open a link in a new window. If someone uses JavaScript to disable this, they have just reduced the functionality of my browser - and they didn't even ask! ;)
    I echo this comment.

    It's all well and good that you are going to go ahead & do this, your decision. But, I do hope that you dont have it as your opening page, and if you do have it as a link- that you warn people with something like (your browser will now be reset) or something like that.

    I know personally, as soon as a site tries to reset anything, I close it. If I 'choose' to use your settings I will allow you to do so.


    Cindy
    [url returns 404 - removed by mod 07/11]
    It' time for Progressive Web & IT Development!

  9. #9
    Junior Member
    Join Date
    Nov 2003
    Posts
    1

    How do you disable the maximize button so people can't maxim

    What I would like to find is a script that will read a page as it downloads and strip out commands that try to override my browser settings. Has anyone seen any of these?

    Bill

  10. #10
    Junior Member
    Join Date
    Dec 2003
    Posts
    8

    Disabling "Maximize"

    If you simply want a new window to open at a fixed (non-resizeable) size, this script will do it. Just adjust the height, width and coordinates (all in pixels):


    <SCRIPT Language="JAVASCRIPT" TYPE="text/javascript">
    function Start(page) {
    OpenWin = this.open(page, "CtrlWindow", "toolbar=no,menubar=no,directories=no,location=no, scrollbars=yes,
    resize=no,height=510,width=630,left=160,top=0,x=16 0,y=0");
    }
    </script>

Similar Threads

  1. Affiliate networks: what's best to maximize PR?
    By sdadesky in forum Affiliate Marketing Discussion Forum
    Replies: 4
    Last Post: 11-10-2005, 09:11 AM
  2. Maximize Your Metabolism Will Maximize Your Income
    By jaca in forum Affiliate Marketing Discussion Forum
    Replies: 2
    Last Post: 02-12-2005, 07:01 PM
  3. How To Maximize Adsense.
    By Master Mind in forum Google AdWords/Google AdSense
    Replies: 5
    Last Post: 06-10-2004, 06:22 PM
  4. how do you disable "view source" button?
    By apsadmin in forum Graphics & Design Discussion Forum
    Replies: 15
    Last Post: 06-05-2004, 07:35 PM
  5. How do you disable the maximize button so that people cant .
    By TheDoctor in forum Web Programming Discussion Forum
    Replies: 2
    Last Post: 11-12-2003, 07:05 AM

Posting Permissions

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