DHTML : An image crossing the screen
Mikael Le Moal


You have surely already seen this happen on the Web: you are quietly surfing and, all of a sudden, an image appears, moves across the page, bounces on the browser's window edges and continues on its way. This is a very simple example of using layers and DHTML.

An image moving through the browser!!!

Contents:

- Initialisation

- Creating the Image

- Movement of the Image

- Redisplaying the Image

- Stopping the Movement