• 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 19.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.)

  • Modify Listing 19.2 to make the animation work in Netscape 4.x and Internet Explorer 4.x as well as newer browsers. You can use the GetStyleObject function introduced in this hour.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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