JQuery Image Flip - 为什么带有突出显示的 html 图像映射会破坏它?
我使用这个jquery插件: http://webmuch.com/image-flip-using- jquery/ 翻转 html 图像映射。 当我使用没有效果的图像贴图时,这效果很好。
但是,我正在使用此插件: http://davidlynch.org/js/maphilight/docs/ 突出显示图像映射的部分(我可能会添加非常好的插件)。
为什么两者看起来不兼容? 如果我添加图像映射,突出显示翻转时会发生的各种疯狂的事情。
有什么想法吗?
我不会发布代码,因为它很大。
Im using this jquery plug in: http://webmuch.com/image-flip-using-jquery/ to flip an html image map. This works fine when I use an image map with no effects.
However, I am using this plug in: http://davidlynch.org/js/maphilight/docs/ to highlight parts of my image map (really nice plug in I might add).
Why do the 2 seem to be incompatible? If I add the image map highlighting all sorts of crazy things happen with the flip.
Any thoughts?
I wont post the code since its quite big.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
第二个插件使用 jQuery 1.2.3 版本,第一个插件是新插件,使用 1.3.2。 这可能是版本之间的兼容性问题。
首先,我会尝试让第二个插件与 1.3.2 单独工作。 如果可以的话,我们可以考虑其他可能的问题。
The second plugin uses version 1.2.3 of jQuery, the first is new and uses 1.3.2. It could be a compatability issue between the versions.
Firstly I would try to get the second plugin working in isolation with 1.3.2. If you can we can then look at other possible issues.
根据 HTML 图像映射中的热点数量,您可以采取不同的路线。 仅使用图像、HTML、CSS 和 core JQuery 可以得到一个非常纤薄、优雅的解决方案。 我在这里写过:重新访问 HTML 图像地图
Depending on how many hot-spots are in your HTML Image Map you could go down a different route. Using only Images, HTML, CSS & core JQuery a really slim, elegant solution can be arrived at. I wrote about it here: Revisiting the HTML Image Map