Previous Example-|-Next Example-|-Return to Chapter Listing

Example 17.8:
Setting the Temporary Status Message...From a Button?

This button changes the status bar, but only until you move the mouse away.

This is the script we used. In the HEAD... <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- defaultStatus = "Hold on, we're loading..." //--> </SCRIPT> Then this: <FORM> <INPUT TYPE="BUTTON" VALUE="Change" onclick="self.defaultStatus='Let\'s change the status message from this button!'"> </FORM> <A HREF="nowhere" onmouseover="self.status='This link takes you to ... '; return true">Point at the link to see another message.</A>
Previous Example-|-Next Example-|-Return to Chapter Listing