hiding tool bars in IE browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Aruny
    New Member
    • Oct 2007
    • 2

    hiding tool bars in IE browser

    Is there any method to hide tool bars in the same window without opening it as a popup? I have test with channel mode. But I just wanted to remove toolbars & keep task bar.

    Thanks,
    KAAJ
  • mrhoo
    Contributor
    • Jun 2006
    • 428

    #2
    You or anyone can select full screen for the browser view, usually the f11 key does this. But leave my toolbars alone, thank you.

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5388

      #3
      hi ...

      yep ... DO what mrhoo said ... don't try such annoying things ... even resizing the original window is annoying ... in case you need this ... simply open a new window for the user but better avoid this too ... AND: don't touch the original window, imagine you customized the size and toolbar etc. for you ... now you go to a webpage, and it resizes your window ... that you already had resized to your own needs ... and even hides the toolbars now ... where you assigned an order or whatever for your own needs ... it is something of the worst things you may do ... besides disabling right-clicks etc. ... always try to avoid it ... i know ... some customers or whatever want that, and sometimes you cannot avoid ... but you should always try to.

      kind regards

      Comment

      • mrmiffo
        New Member
        • Nov 2007
        • 8

        #4
        So guys, you definately think you have figured it all out huh? ;-)

        What you are thinking of is a typical standard person surfin' the internet and suddenly gets his/her browser layout changed against his/her will. Then your comments are perfectly correct and understandable.

        But now to some serious discussion: let's say that you have the mission to create a page which will be used on an intranet and where users have logged in on demand of their bosses. Yeah, that's right... they are forced to log in and actually learn some stuff. The thing is that the project demands full screen view - it is NOT an option for the user. AND - they should not need to click on anything to get fullscreen. This is the customers' demand. Therefore, my friends, you must see the problem from another angle. The question remains. Is it possible? It must be. It should be. It is totally so, that the site creator/the site owner makes the rules. They descide what the visitor should experience in cases like this.

        Keep on workin' - or else somebody else will do it. ;-)

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #5
          mrmiffo, welcome to TSDN!

          To be fair, the OP did not specify as you have done that this is for an intranet.
          Originally posted by mrmiffo
          But now to some serious discussion: let's say that you have the mission to create a page which will be used on an intranet and where users have logged in on demand of their bosses. Yeah, that's right... they are forced to log in and actually learn some stuff. The thing is that the project demands full screen view - it is NOT an option for the user. AND - they should not need to click on anything to get fullscreen. This is the customers' demand.
          So you don't want a popup window?

          You can use resizeTo() and moveTo() methods, but that wouldn't hide toolbars.

          So you want the same effect of F11 with JavaScript?

          Comment

          • mrmiffo
            New Member
            • Nov 2007
            • 8

            #6
            Thanks for the welcoming!

            True. The original poster probably was not creating pages for the same purpose I described. I just wanted to make a point since I, and everyone else, the last few years have been struggling against the hysterical security aspects of everything. The bad guys out there are making the rules. Each time I deliver a clever system to a customer I think for myself; "wonder how long time it will take before Microsoft makes my system stop working because they figured one of the approaches I use is a 'security risk'?"
            Basically, all good stuff we could do is prohibited because it's a security risk. Gee, what the world would be great if there were no bad guys.

            I personally can settle with "the open a new window"-solution, but I do not know how to get the exact same content in the new window... this will be hard to explain I guess... but I'll give it a shot:
            You have 6 frames and you have navigated to page 12 and the navigation tree in one frame shows that you are where you are, a text is visible in another frame and an image in a third frame - in fact all frames have a "current state"... now the user wants to view all this in fullscreen... if I open a new window then the presentation will be back at the beginning again won't it? Is there an EASY way to just duplicate the contents with js variables and all intact? The only thing I've come up with is that I have to send a lot of variables together with the name of the frameset html page so I can query all those variables and setup the frames' content again. The problem will occure again when switching back to non-fullscreen - then I want the framset updated there too...Does this make any sense at all? If not - yell. :-)

            Comment

            • acoder
              Recognized Expert MVP
              • Nov 2006
              • 16032

              #7
              Originally posted by mrmiffo
              I personally can settle with "the open a new window"-solution, but I do not know how to get the exact same content in the new window... this will be hard to explain I guess... but I'll give it a shot:
              You have 6 frames and you have navigated to page 12 and the navigation tree in one frame shows that you are where you are, a text is visible in another frame and an image in a third frame - in fact all frames have a "current state"... now the user wants to view all this in fullscreen... if I open a new window then the presentation will be back at the beginning again won't it? Is there an EASY way to just duplicate the contents with js variables and all intact? The only thing I've come up with is that I have to send a lot of variables together with the name of the frameset html page so I can query all those variables and setup the frames' content again. The problem will occure again when switching back to non-fullscreen - then I want the framset updated there too...Does this make any sense at all? If not - yell. :-)
              Yes, it does make sense and the solution depends on what you do to get to the "current state". Does it require modification of the DOM or is it just clicking to change the contents of a frame and each frame's content is just a URL to a page or image?

              You may only need to pass the six frames' URLs to the child window.

              You could use the child window reference to pass the URLs or the URL itself and use the location.search property to get the passed frame URLs to reconstruct the "current state". Can you give a example.

              This is all using standard JavaScript. If you only use IE and can use ActiveX, then you may just need to simulate the F11 key press. Note the emphasis on "may". If you do choose to take that route, you'll probably on your own.

              Comment

              Working...