Setting the Default Status Message : StatusBar « Window Browser « JavaScript DHTML






Setting the Default Status Message

<HTML>
<HEAD>
<TITLE>window.defaultStatus property</TITLE>
<SCRIPT LANGUAGE="JavaScript">
window.defaultStatus = "Welcome to my Web site."
</SCRIPT>
</HEAD>
<BODY>
<A HREF="http://www.java2s.com" 
onMouseOver="window.status = 'Visit java2s\'s Home page.';return true"
 onMouseOut="window.status = '';return true">Java2s.com</A><P>
<A HREF="http://home.netscape.com" 
onMouseOver="window.status = 'Visit Netscape\'s Home page.';return true"
 onMouseOut="window.status = window.defaultStatus;return true">Netscape</A>
</BODY>
</HTML>


           
       








Related examples in the same category

1.Date in the status bar
2.Displays the time in the status line
3.Write text to the window's status bar
4.Using the self Property in status bar
5.Links with Custom Statusbar Messages
6.Handling Status Message Changes
7.JavaScript display infomation in Status Bar
8.Working with Status Bar Messages
9.Using Status Messages
10.Scrolling Text in the Status Window
11.The onFocus event Handler
12. Creating a Scrolling Banner in status bar