communication leads to understanding, so ...

Standards compliant rollover script

While surfing the web looking for a nifty multi-level menu, I stumbled over a neat little rollover script made by Daniel Nolan. It adds mouse rollover code to images without the hassle of coding in extra parameters to each image in your document and what's more, it is standards compliant and should not invalidate your document.

The script makes use of the class attribute of the image tag; so every image that requires a mouseover effect should have the class="imgover" and look like this:

 Continue reading | Comments (1) 25-01-2007

©2006 - 2010 hbwConsultants - The Netherlands 

CMS  • XHTML • CSS • RSS