Results 1 to 2 of 2

Thread: Disable explorer menubar

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Disable explorer menubar

    I am developing an intranet site where all users will have explorer using asp and javascript for client stuff.

    Is it possible to disable/remove the menu and navbar in explorer in either asp or javascript.

    I know I can do it in .net but was wondering if I could do it with either of these languages.

    Parksie

  2. #2
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    You mean internet explorer, right ?

    But yes, it's possible using JavaScript(ASP is server side...), just open the window using:

    Code:
    window.open("http://www.vbforums.com","my_new_window","toolbar=yes, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes")
    If you want this done when a page loads just put it in the body load... like this:

    Code:
    <html>
    
    <head>
    <script>
    function newpage() {
    window.open("http://www.vbforums.com","my_new_window","toolbar=yes, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes");
    window.close;
    }
    </script>
    
    </head>
    
    <body onLoad="newpage();">
    Opening new window...
    
    </body>
    </html>
    Hope this helps

    Cheers!
    "Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
    - Zack de la Rocha


    Hear me roar.

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