This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

defaultStatus

Summary

Sets or retrieves the default message displayed in the status bar at the bottom of the window.

Property of dom/Windowdom/Window

Syntax

var statusMessage = window.defaultStatus;
window.defaultStatus = value;

Return Value

Returns an object of type StringString

The default message to display on the userAgents’ Status Bar.

Examples

The following example displays ‘Welcome to our website’ in the userAgent’s Status Bar when the page loads.

window.onload=function(){
window.defaultStatus='Welcome to our website!';

};

Usage

 Use to customize the userAgent default Status Bar message.

Notes

Remarks

Do not confuse defaultStatus with status. The status property reflects a priority or transient message in the status bar, such as the message that appears when an onmouseover event occurs over an anchor. Windows Internet Explorer 7: References to this property are ignored if the “Allow status bar updates via script” option is disabled or the URLACTION _FEATURE_SCRIPT_STATUS_BAR URL action is disallowed for the current URL security zone. For more information on URL security zones, please see About URL Security Zones.

defaultStatus in Metro style apps using JavaScript

Metro style apps using JavaScript don’t support this property because they don’t have status bars.

Syntax

Attributions