JQuery Image Flip - 为什么带有突出显示的 html 图像映射会破坏它?

发布于 2024-08-02 02:29:29 字数 461 浏览 17 评论 0原文

我使用这个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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冰雪梦之恋 2024-08-09 02:29:29

第二个插件使用 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.

迷雾森÷林ヴ 2024-08-09 02:29:29

根据 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文