javascripthtmlimagemap

How do I highlight parts of an imagemap on mouseover?


I need to display an imagemap with about 70 areas in it. The area of the imagemap the mouse cursor is currently at is supposed to be highlighted in a certain color.

Is this possible and if yes, how?


Solution

  • After actually using it in production I'd say this is the answer: http://plugins.jquery.com/project/maphilight

    Using this it takes a few lines of code to implement that feature for any imagemap.