please dont rip this site

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Window.status Property

Name

Window.status Property---specify a transient message

Availability

Navigator 2.0, Internet Explorer 3.0

Synopsis

window.status

Description

status is a read/write string property that specifies a transient message to appear in the window's status line. The message generally appears only for a limited amount of time--until it is overwritten by another message, or until the user moves the mouse to some other area of the window, for example. When a message specified with status is erased, the status line returns to its default blank state, or to the default message specified by the defaultStatus property.

Although only top-level windows have a status line, the status property of frames may also be set. Doing so displays the specified message in the top-level window's status line. Transient messages set by frames will be visible regardless of which frame currently has focus or which frame the mouse is in. This differs from the behavior of the defaultStatus property.

Usage

status is used to display transient messages in the status line. To display semi-permanent messages, use the defaultStatus property.

In general, setting the status property is only useful from event handlers and in code fragments deferred with the Window.setTimeout() method. If you set status directly from a script, the message will not be visible to the user. It will not be displayed right away, and when it is displayed, it will likely be immediately overwritten by a browser message such as "Document: done".

If you want to set the status property in the onMouseOver() event handler of a hypertext link, you must return true from that event handler. This is because the default action when the mouse goes over a link is to display the URL of that link, thereby overwriting any status message set by the event handler. By returning true from the event handler, you cancel this default action and leave your own status message displayed (until the mouse moves off of the link).

See Also

"Window", "Window.defaultStatus"


Previous Home Next
Window.setTimeout() Book Index Window.sun

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell

file: /Techref/language/JAVA/SCRIPT/definitive/refp_461.htm, 5KB, , updated: 2019/10/14 15:00, local time: 2024/12/19 06:00,
TOP NEW HELP FIND: 
3.137.190.44:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/language/JAVA/SCRIPT/definitive/refp_461.htm"> [Chapter 21] Reference: Window.status</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .