Update status bar message in onMouseOver/onMouseOut event
|
|
<html> <head> <script language="JavaScript" type = "text/javascript"> <!-- function StatusMsg(LinkURL, LinkDesc) { if (LinkURL == "") { status = " " } else { status = ("Visit " + LinkDesc + " at " + LinkURL) } return true } //--> </script> </head> <body> <title>Change Status Message</title> </head> <body> <P><a href="http://www.microsoft.com" onMouseOver="return StatusMsg(this.href, 'Microsoft')" onMouseOut= "return StatusMsg('','')">Microsoft</a> </p> <P><a href="http://www.netscape.com" onMouseOver="return StatusMsg(this.href, 'Netscape')" onMouseOut="return StatusMsg('','')">Netscape</a></p> <P><a href="http://www.samspublishing.com" onMouseOver="return StatusMsg(this.href, 'Sams Publishing')" onMouseOut="return StatusMsg('','')">Sams</a></p> </body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
|
|