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

Example 17.4:
Setting defaultStatus Two Ways

We put a defaultStatus message into the status bar before the document loaded, then again using the onload event handler. (To slow downloading, so you can see the "Hold on, we're loading" message, we put some pictures in here. These are from the Ventana Clipart library.)


This is the script we used: <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- defaultStatus = "Hold on, we're loading..." //--> </SCRIPT> </HEAD> <BODY onload="defaultStatus = 'Hello, how ya\'ll doing?'">
Previous Example-|-Next Chapter's Examples-|-Return to Chapter Listing