Simon Willison’s Weblog

Subscribe

Alternative rollover script

19th January 2003

And here’s Daniel Nolan’s standards compliant rollover script, which uses a different approach (based on rollover images using a standard naming convention with a suffix attached to the name of the original image) but achieves the same effect, working in Opera 7 as well. It also uses a neat way of adding events using javascript function prototypes.

This is Alternative rollover script by Simon Willison, posted on 19th January 2003.

Next: Pythonology

Previous: Better image rollovers

Previously hosted at http://simon.incutio.com/archive/2003/01/19/alternativeRolloverScript