How do I highlight parts of an imagemap on mouseover?

后端 未结 5 1052
旧时难觅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:40

    1.Step:Add jquery.min.js
    2.Step:Add jquery.maphilight.js
    3.Step:Add the $('.map').maphilight(); 
    

    
    
    
    
    
    
    
      

提交回复
热议问题