当前位置:编程学习 > JAVA >>

怎样解决javascript中的无效对象初始化器?

追问:$("#menu > li").hover( function(){ var $this = $(this); $("a",$this).addClass("hover"); $("span",_this).stop().animate({"top","40px"},300).css({"zIndex","10"}); }, function(){ var $this = $(this); $("a",$this).removeClass("hover"); $("span",$this).stop().animate({"top","-17px"},800).css({"zIndex","-1"}); } );
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,