Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Nov 2003
    Location
    Code Heaven
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How can I hide the statusbar?

    I think it was window.statusbar.visible=false right?
    Thx.

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    You can not hide the status bar without opening a pop up window.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    Regular Coder
    Join Date
    Nov 2003
    Location
    Code Heaven
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What????
    But I'm pretty sure I read this in a book,with the statusbar.visible prop...oh well I guess it's an IE6 feature no?
    Also there IS a way:
    var IE=new ActiveXObject("InternetExplorer.Application");
    IE.StatusBar=False;
    But the problem is this code opens a new IE instance...I want to handle the current IE instance...anybody has any ideas?

  • #4
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    That is fine if you do not want a cross browser script. What are you trying to hide in the status bar? You can just hide the text if that is what you are trying to do. I do not think 10px is alot of room to work with.
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    Wichita
    Posts
    3,880
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Changing the "chrome" of an existing window isn't possible except for locally viewed web pages. If the page was viewed via the http protocol you must open a new browser instance to change the "chrome".

    As of SP2 users of XP will have the ability to override any hiding of the status bar and that override will be turned on by default. I'd guess that the next SP for W2K will also make the same changes so this is a "feature" you can no longer count on.

    From the preliminary MS document on the changes
    Internet Explorer has been modified to not turn off the status bar for any windows. The status bar is always visible for all Internet Explorer windows.
    You can get the whole document at http://go.microsoft.com/fwlink/?LinkId=20969 it details a number of changes to IE that are in process which will also fix a great many of it's security flaws.
    Last edited by brothercake; 01-05-2004 at 10:55 PM.
    Check out the Forum Search. It's the short path to getting great results from this forum.

  • #6
    New Coder
    Join Date
    Jan 2004
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you are doing this to have the effect of your users not being able to see the URLs of links they mouseover or something like that, there are several of scripts on DynamicDrive.com to change the text in the status bar. Just make one that always says "Done" and your visitors will probably not know the difference.
    Also, there is another script on dynamic drive that will cause URLs of links the visitor mouses over to be hidden from the status bar


  •  

    Posting Permissions

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