Sams Teach Yourself HTML 4 in 24 Hours

Sams Teach Yourself HTML 4 in 24 Hours

By Dick Oliver

Workshop

Quiz

  1. If you want your logo to bounce up and down on your Web page, how would you do it?
  2. How would you make a quarter-of-a-second pause between each frame of the animation?
  3. How would you modify a GIF animation that repeats infinitely to instead play only three times before stopping?

Answers

  1. Use Paint Shop Pro or another graphics program to make a few images of the logo at various heights (perhaps squishing when it reaches a line at the bottom). Then assemble those images using Animation Shop, and save them as a multi-image GIF animation file named bounce.gif. You can then place that animation on a Web page using the <img src="bounce.gif" /> tag, just as you would any GIF image.
  2. When you build the animation in Animation Shop, enter 25 as the time delay (in centiseconds).
  3. Open the animation in Animation Shop; select Edit, Animation Properties; choose Play It; and enter the number 3.

Exercises

Share ThisShare This

Informit Network