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>