<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
//hover 触发两个事件,鼠标移上去和移走
//mousehover 只触发移上去事件
$(".top-nav ul li").hover(function(){
$(this).addClass("hover").siblings().removeClass("hover");
$(this).find("li .nav a").addClass("hover");
$(this).find(".con").show();
},function(){
//$(this).css("background-color","#f5f5f5");
$(this).find(".con").hide();
//$(this).find(".nav a").removeClass("hover");
$(this).removeClass("hover");
$(this).find(".nav a").removeClass("hover");
})
</script>
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
