我有这个动画 http://jsfiddle.net/atcr4/7/
jQuery("#blue").delay( 1000 ).animate(
{"height": "+=20px", "width": "+=45px"},
"slow", function(){
jQuery(this).css({
"box-shadow":"1px 3px 3px #333",
"position":"relative"})
});
jQuery("#green").delay( 1000 ).animate(
{"height": "+=20px", "width": "-=45px"},
"slow", function(){
});
jQuery("#orange").delay( 1000 ).animate(
{"height": "-=20px", "width": "+=45px"},
"slow", function(){
});
jQuery("#pink").delay( 1000 ).animate(
{"height": "-=20px", "width": "-=45px"},
"slow", function(){
});
当我悬停其中一个框以停止循环和悬停的框展开时,有什么办法吗?
先感谢您!