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

Exercises

If you want to gain more experience using JavaScript with plug-ins, try these exercises:

  • Modify Listing 20.1 to detect a plug-in and display a message with a link to the plug-in vendor's site if it is not supported.

  • Expand the piano keyboard in Listing 20.3 to include another octave of notes. (Audio files for all 88 keys of a piano are available at this book's Web site, http://www.jsworkshop.com, if you want to go all out. An imagemap version of the keyboard with more keys is also available.)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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