[thelist] Tip: Image Map Rollovers with CSS

Kristof Neirynck k.neirynck at belgacom.net
Sun Nov 9 06:22:42 CST 2003


Jeff Howden wrote:

> I made something similar some time ago:
> 
> http://evolt.jeffhowden.com/jeff/code/imagemap_rollover/index.cfm

Large parts of the images are just copies of the original so I made them 
transparent.
This keeps filesize small.
I also added onfocus event handlers to the areas to make the image 
swapping usable for keyboard users.
I also got rid of the "onmouse..." in the html which makes for cleaner code.


Kristof



More information about the thelist mailing list