HTML/JavaScript: mouseover effect for image maps?

Posted by MVCDummy09 on Stack Overflow See other posts from Stack Overflow or by MVCDummy09
Published on 2010-04-27T01:36:18Z Indexed on 2010/04/27 1:43 UTC
Read the original article Hit count: 406

Filed under:
|
|

I'm trying to help out a nonprofit by doing their website. They want (ugh) their logo to serve as an HTML image map. In other words, when you click on different parts of the logo, you're directed to different web pages. They also, however, want mouseover effects: when you mouseover a particular portion of the image map, that piece of the graphic should be highlighted.

If the logo was simple, I would slice it up into rectangles and attach mouseover and click events to the appropriate rectangles. With the complexity of their logo, this is not possible, however.

Has anyone done anything like this without Flash? I'm not a Flash developer but this is looking like a very difficult task in just HTML/JavaScript.

Any ideas? Thanks!

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript