SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Member aliceast's Avatar
    Join Date
    Aug 2003
    Location
    Apex, NC
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Deleting Browser Toolbars

    I'm not sure if this is the propoer forum but here is my question.

    I want to be able to get rid of the browser toolbars when my index page loads up. How can I go about doing this?

    Thanks in advance,
    Este

  2. #2
    You talkin to me? Anarchos's Avatar
    Join Date
    Oct 2000
    Location
    Austin, TX
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can't do that. It's a very immoral idea anyway.
    ck :: bringing chris to the masses.

  3. #3
    SitePoint Wizard silver trophy Crazybanana's Avatar
    Join Date
    Mar 2003
    Location
    In tha fruit cellar
    Posts
    1,379
    Mentioned
    32 Post(s)
    Tagged
    1 Thread(s)
    bad idea.. what you can do is let the index page call up a popup and close itself.. but with all those popup stoppers out there this isnt a good idea at all...
    or you can have a link on your index page wich calls up a a popup window containing your page without toolbars and so...
    Who's to doom when the judge himself is dragged before the bar


  4. #4
    SitePoint Enthusiast Succotash's Avatar
    Join Date
    Sep 2003
    Location
    USA
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey, you're in Rockville!

    Sorry I don't have an answer, but I do have a thought on this: unless it's an ad, or a pop-up with a single purpose (like a poll or contact field), I would recommend thinking long and hard before doing that (that is if you hadn't already).

    The other day, a pop-up ad actually GOT ME IN (which is a miracle)! But the tools were gone. I didn't feel comfortable at all with it, so I left, and most likely will never go back.

    I am a creature of habit. It's not a good idea to take away your user's options. They have deep-seated, irrational attachments to their own surfing style.

  5. #5
    SitePoint Wizard silver trophy Crazybanana's Avatar
    Join Date
    Mar 2003
    Location
    In tha fruit cellar
    Posts
    1,379
    Mentioned
    32 Post(s)
    Tagged
    1 Thread(s)
    I agree with you Succotash
    taking away your users options isnt a good idea at all.
    if it was for a popup window containing a pic or embedded audio/video or so I can understand it, but not for the whole page. but its your call of course...
    Who's to doom when the judge himself is dragged before the bar


  6. #6
    SitePoint Member aliceast's Avatar
    Join Date
    Aug 2003
    Location
    Apex, NC
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry that I was not clear in my question. I'm creating a web-based course that will be delivered by cd-rom and viewed through a browser. The reason why I want to get rid of the toolbars is so that the user will use the navigation for the course and not get confused with the browser navigation.

    Thanks,
    Este

  7. #7
    Just Blow It bronze trophy
    DaveMaxwell's Avatar
    Join Date
    Nov 1999
    Location
    Mechanicsburg, PA
    Posts
    7,263
    Mentioned
    115 Post(s)
    Tagged
    1 Thread(s)
    You'll need to open the window via javascript which will give you more control over the windows properties, and you can eliminate the browser controls that way.
    Dave Maxwell - Manage Your Site Team Leader
    My favorite YouTube Video! | Star Wars, Dr Suess Style
    Learn how to be ready for The Forums' Move to Discourse

  8. #8
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Are you targetting a single browser for this? If so there is code to put various browsers into full screen mode which eliminates most toolbars and menus (press F11 in Internet Explorer for an example).

    The other option is to take advantage of the browser's built-in navigation and make it work for you instead of against you. With Internet Explorer, you can add behaviours to links that will regulate which ones show up for use in the "Back" and "Forward" navigation buttons. This can be done with standard javascript on other links, behaviours are just neater code wise. If targetting a Windows platform, you can use the Active Scripting part of windows to use javascript or visual basic script to load the browser without toolbars, similar to a popup but on insertion of the CD.

    Here is some code that I wrote for a CD I made where I wanted the window resized to 800 X 600 and the toolbars removed if possible. The toolbars only get removed in Mozilla based browsers though and I never tested it in Opera.

    Code:
    <script language="JavaScript1.2">
    <!--
    
    top.window.moveTo(0,0);
    if (document.all) {
      top.window.resizeTo(800,600);
    } else if (document.layers||document.getElementById) {
      top.window.outerHeight = 600;
      top.window.outerWidth = 800;
      window.locationbar.visible = false;    //netscape/mozilla only
      window.menubar.visible = false;       //netscape/mozilla only
      window.personalbar.visible = false;   //netscape/mozilla only
      window.toolbar.visible = false;         //netscape/mozilla only
    }
    //-->
    Hopefully this will help you get started. Place the code anywhere in the body tag. I put it at the very beginning.
    Wayne Luke
    ------------


  9. #9
    SitePoint Member aliceast's Avatar
    Join Date
    Aug 2003
    Location
    Apex, NC
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for all the help. I thought I would need to use Javascript but I was not sure. Thanks again.


Bookmarks

Posting Permissions

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