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

Example 17.6:
More Ways to Change defaultStatus

We started with the same defaultStatus message, but then have a couple of ways to change it.
Or just point at this link (which doesn't go anywhere) to change the status message.
This is the script we used. In the HEAD... <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- defaultStatus = "Hold on, we're loading..." //--> </SCRIPT> Then these: <FORM> <INPUT TYPE="BUTTON" VALUE="Change" onclick="self.defaultStatus='Let\'s change the status message from this button!'"> </FORM> <A HREF="nowhere" onmouseover="self.defaultStatus='Now from this link!'; return true">Or just point at this link (which doesn't go anywhere) to change the status message.</A>
Previous Example-|-Next Example-|-Return to Chapter Listing