【问题标题】:Hover not working with jQuery Tools - jQuery悬停不使用 jQuery 工具 - jQuery
【发布时间】:2011-11-02 02:44:08
【问题描述】:

当我将jQuery Tools 添加到我的页面时,链接上的悬停效果不起作用。没有它,它可以工作。

<script src="jquery.js"></script>
<script src="jquery.color.js"></script>
<script src="http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js"></script>
<script>
$(function() {
$("a").hover(
function() {
    $(this).animate({color: "white"}, 400);
}, function() {
    $(this).animate({color: "black"}, 400);
});
});
</script>

【问题讨论】:

  • 您有任何错误吗?你能提供一个链接到你的页面吗?

标签: jquery hyperlink hover jquery-animate jquery-tools


【解决方案1】:

如果你切换颜色插件和工具&lt;script&gt;标签动画工作

http://jsfiddle.net/pxfunc/gJjAZ/

问题是:这会使工具提示不起作用吗? :)

【讨论】:

    猜你喜欢
    • 2011-11-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-21
    • 2010-12-19
    • 1970-01-01
    相关资源
    最近更新 更多