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

Chapter 10. Event Objects > Event Propagation

Event Propagation

In the beginning, an event is fired on an object, such as mouseover on a link around an image. If there was an event handler defined for that event (onmouseover, in this case), then that event handler executed. Consider the following code:

<a href="go.html" onmouseover="swapImage(1)"
  onmouseout="swapImage(0)">
<img src="link.gif" name="linkImg"></a>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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