问题
When I add jQuery Tools to my page, hover effect on links doesn't work. Without it, it works.
<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>
回答1:
If you switch the color plugin and the tools <script>
tags the animation works
http://jsfiddle.net/pxfunc/gJjAZ/
Question will be: does that make the tooltip not work? :)
来源:https://stackoverflow.com/questions/7164204/hover-not-working-with-jquery-tools-jquery