Newer
Older
<!-- This example is from the book _JavaScript: The Definitive Guide_. -->
<!-- Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates. -->
<!-- This example is provided WITHOUT WARRANTY either expressed or implied.-->
<!-- You may study, use, modify, and distribute it for any purpose. -->
<!-- Here's how you set the status line in a hyperlink
-- Note that the event handler *must* return true for this to work. -->
Lost? Dazed and confused? Visit the
<A HREF="sitemap.html" onMouseOver="status='Go to Site Map'; return true;">
Site Map
</A>
<!-- You can do the same thing for client-side image maps -->
<IMG SRC="images/imgmap1.gif" USEMAP="#map1">
<MAP NAME="map1">
<AREA COORDS="0,0,50,20" HREF="info.html"
onMouseover="status='Visit our Information Center'; return true;">
<AREA COORDS="0,20,50,40" HREF="order.html"
onMouseOver="status='Place an order'; return true">
<AREA COORDS="0,40,50,60" HREF="help.html"
onMouseOver="status='Get help fast!'; return true">
</MAP>