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

Exercises

If you want to study JavaScript graphics further, perform these exercises:

  • Change the image map example in Listing 15.1 to link to HTML documents rather than displaying alert messages.

  • In the rollover example in Listing 15.2, try adding a third image that is displayed while the mouse is clicked. You can use the onMouseDown event handler.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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