jquery 鼠标移动显示隐藏
$(document).ready(function(){ $(".zxhd").mouseover(function(){ $(this).stop(true,false).animate({"right":-0},"slow"); /* $(this).css("background-image","url(/templets/default/images/zxhd_bj.png)");*/ }); $(".zxhd").mouseleave(function(){ $(this).stop(true,false).animate({"right":-555},"slow"); /*$(this).css("background-image","none");*/ }); });
写的好!

微信扫一扫赏大洋