The onClick event is just one of many events you can use. The onMouseOver and onMouseOut event let you control what happens when the
mouse passes over an element or passes away from an element. Suppose you have a
list of links and you'd like the description of each link to appear in the
status bar area. Try this:
<a
href="http://www.psacake.com/web/"
onMouseOver="window.status=('Web
tips and tricks');return true;" onMouseOut="window.status=
('')">psacake.com</a>
psacake.com
This will set the status bar's text when the mouse is over the link. If you
omit the onMouseOut handler, the text you specify will remain, even when the
user moves the mouse away from the link.
My3C's
perrychicker
Back | Tell A Friend | Search this Site
© 1998 - 2012 psacake.com
Version 3.23
Send me One Million FREE Guaranteed Visitors