Like this article? We recommend

Like this article? We recommend

What You Will Need

The parts to this puzzle are straightforward: You create a Web page that will
contain the random graphic, or you could easily attach the script to an existing
page. It's up to you. This is what you will need to work through this
example:

Adobe Dreamweaver CS3.

A basic knowledge of how to create a simple HTML Web page using layers or
tables.

A bunch of Web-ready graphics from Fireworks, Photoshop, or any
image-editing software. (Because this script does not preload the images, you
can choose as many as you like—the more the merrier.)

NOTE

All of the graphics you use must be the same width and height, and saved in
the same format (JPG, GIF, etc.).

A working knowledge of JavaScripting is a recommended asset. It's not
required for this exercise—we're going to give you the
script—but understanding JavaScript is still a good thing.