
Use this to perform different functions based on mouse position.
| <A HREF="javascript:void(null)" onMouseOver="status='Pucker up, big boy!'; return true;" onMouseOut="status='Oh, come on! We were just getting started!'; return true;"> <IMG SRC="lips.jpg"> </A> The onMouseOver and onMouseOut both put messages in the Status Line. In this example there is a message as the mouse goes over an HREF and then there is a different message as the mouse leaves the HREF. The onMouseOver and onMouseOut work over an HREF, whether it is an image or hyperlink. This was discussed in the Event Handler Section under Method 1. |