jQuery导航条三级下拉菜单代码是一款非常简洁实用的网站导航菜单,绿色下拉菜单导航代码。

js代码

<script type="text/javascript" src="https://img.x22t.com/file/2020/04/25/dbf5b8cc901706a1861cd5b9d115bc261398.js"></script>
<script type="text/javascript">
	$(function(){
		var _this1=null;
		$(".nav>li").hover(function(){
			_this1=$(this);
			_this1.find(".second-nav").show();
			var _this2=null;
			_this1.find(".second-nav").find("li").hover(function(){
				_this2=$(this);
				_this2.find(".third-nav").show();
				_this2.find(".third-nav").hover(function(){
					$(this).show();
				},function(){
					$(this).hide();
				});
			},function(){
				_this2.find(".third-nav").hide();
			});
		},function(){
			_this1.find(".second-nav").hide();
		});
	});
</script>

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。