websemantics.co.uk
Submitted by: The Dude

Cross-fading disjointed image rollover

This advanced technique uses CSS-sprites and JavaScript to change an image which is not directly associated to the link. It uses accessible and clean mark-up, with unobtrusive JavaScript, and a little CSS. Content, presentation and behaviour are completely separated. The JavaScript acts on the XHTML using the style sheet.

The JavaScript is configurable and completely reusable by changing four variables.

direct link