How do I highlight parts of an imagemap on mouseover?

后端 未结 5 1056
旧时难觅i
旧时难觅i 2020-12-13 16:08

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.

5条回答
  •  没有蜡笔的小新
    2020-12-13 16:39

    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.

提交回复
热议问题