Using the self Property in status bar : StatusBar « Window Browser « JavaScript DHTML






Using the self Property in status bar


<HTML>
<HEAD>
<TITLE>self Property</TITLE>
<SCRIPT LANGUAGE="JavaScript">
    self.defaultStatus = "Welcome to my Web site."
</SCRIPT>
</HEAD>
<BODY>
<A HREF="http:// www.java2s.com" onMouseOver="self.status='Visit java2s.com\'s Home page.';return true"
 onMouseOut="self.status = '';return true">java2s.com</A><P>
<A HREF="http://www.java2s.com" 
onMouseOver="self.status = 'Visit www.java2s.com\'s Home page.';return true"
 onMouseOut="self.status = self.defaultStatus;return true">java2s.com</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.Setting the Default Status Message
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