• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Handling Events > Handling Link Events

12.5. Handling Link Events

In many of the previous examples, links have been used to trigger events. When the user clicked or moved his mouse over a link, a link event was triggered. One link event, onClick, gets sent whenever someone clicks on a link. As we saw with mouse events, onMouseOver and onMouseOut also cause a link event to occur.

Table 12.5. Link events.
Event HandlerWhen It Is Triggered
onClickWhen the mouse is clicked on a link
onMouseOutWhen a mouse is moved out of a link
onMouseOverWhen a mouse is moved over a link



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint