how to disable defaultStatus?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • perhapscwk
    New Member
    • Sep 2007
    • 123

    how to disable defaultStatus?

    how to disable defaultStatus?

    or make it always shows as below?
    Code:
    defaultStatus = "Welcome to my homepage";
    I don;t want visitors can see what is currently loading.

    thanks.
  • mrhoo
    Contributor
    • Jun 2006
    • 428

    #2
    You don't often have control of the user's status bar anymore.

    When you do, changing the window.defaultS tatus only writes to the status bar when there are no window.status messages pending.

    To keep the bar clear you have to catch any image, object or window loading events and return your message, or the empty string to window.status in place of the default return.

    Don't bother, unless you are targetting quite old browsers.

    Comment

    Working...