Webmaster

DHTML : Your pages in the limelight
Mikael le Moal


DHTML and JavaScript enable you to create lots of animation effects. By combining layers and mouse events, you can produce a realistic spotlight effect. It will follow the mouse moves and progressively unveil your page. Like a number of DHTML scripts, this workshop utilises layers.

Back to the start. To make this workshop easier to follow, take a look at the numbered version of our script.



Contents:

- Creating the Layers

- Layer Access

- Initialising the Animation

- Moving the Spot

- End of the Effect