The JavaScript instructions are shown below in bold.

<html>
<head>
<title>JavaScript Demo Example 7 DWv4</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}
//-->
</script>

</head>

<body bgcolor="#FFFFFF">

<h3>Display an informative message in the Status Line by passing the mouse<br>
over <a href="#"
onMouseOver="MM_displayStatusMsg('Are we having fun yet?');return document.MM_returnValue">text</a>
or an image <a href="#"
onMouseOver="MM_displayStatusMsg('You are not sure???');return document.MM_returnValue">
<img src="staryell.gif" border="0" width="52" height="50"></a> or by clicking
on <a href="#"
onClick="MM_displayStatusMsg('Of course we are!!!');return document.MM_returnValue">something.</a></h3>

<p>&nbsp;</p>
<p><a href="JavaScriptDemo.htm">Return to Having Fun with JavaScript</a>.</p>

</body>
</html>

 

Return to Example 7.