【发布时间】: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