|
|
|
|
|
|
One of the easiest to use features allowed by JavaScript is the creation of informational messages in a browser's status bar using the onMouseOver instruction.
This is what the line of JavaScript that does this looks like:
onmouseover="top.window.status='Useful and informative message...'; return true" onmouseout="top.window.status=''; return true"(The "onmouseout" part removes the message from the status bar when the cursor moves away from the link.)
It gets inserted into an anchor tag like this:
<a href="somedirectory/some.html" onmouseover="top.window.status='Useful and informative message...'; return true" onmouseout="top.window.status=''; return true">Yada yada</a>Onscreen, it looks (and acts) like this: Yada yada
Rolling your cursor over this link should produce a message in the status bar at the bottom of the browser window. (If you have the status bar visibility turned off in your browser, you won't see it.)