image map alternative (maybe in javascript?)

Posted by squids on Stack Overflow See other posts from Stack Overflow or by squids
Published on 2013-10-18T09:46:46Z Indexed on 2013/10/18 9:54 UTC
Read the original article Hit count: 182

Filed under:
|
|

Alright, so I was wondering if there was an alternative, lightweight way to creating an image map.

Basically, I want to take this image:

And have the sections of the diagram light up when they are hovered over, kinda like this (I've mocked it up in photoshop):

The other sections (which I haven't named yet) should be able to do the same. Also, I'd like to be able to use javascript later to have sliding links appear from behind those sections (I roughly know how to do that now, so I'm okay that)

Does anyone have any suggestions? Just a general direction on what to search for would be great.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css