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

Exercises

If you want to gain more experience using positionable elements with JavaScript, try these exercises:

  • Modify Listing 18.2 to detect the user's browser version, and use the layers array or the document.all object as needed to support 4.0 browsers. See Hour 16 for the syntax to detect these browsers.

  • Modify Listing 18.2 to make one of the mice run the race from right to left instead of left to right. (For the full effect, use a reversed version of the graphic.)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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