如何在鼠标悬停时突出显示图像部分? [英] How do I highlight parts of an imagemap on mouseover?
本文介绍了如何在鼠标悬停时突出显示图像部分?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要显示一个包含约70个区域的图片。
这是可能的,如果是的话,怎么样?
解决方案
在生产中实际使用它之后,我会说这是答案: http://plugins.jquery.com/project/maphilight
使用它需要几行代码为任何图像映射实现该功能。
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?
解决方案
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.
这篇关于如何在鼠标悬停时突出显示图像部分?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文