jquery树形导航菜单二级下拉展示插件


jquery树形导航菜单二级下拉展示插件
jquery树形导航菜单二级下拉展示插件以及树形导航菜单、二级下拉展示等js/jquery网页特效代码下载。

1. 引入JS

<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery.tree.js"></script>

2. HTML代码

<style type="text/css">
*{margin:0;padding:0;list-style-type:none;font-size:12px;}
a,img{border:0;}
#files{margin:100px auto;width:400px;}
.tree,.tree ul,.tree li{list-style:none;margin:0;padding:0;zoom: 1;}
.tree ul{margin-left:8px;}
.tree li a{color:#555;padding:.1em 7px .1em 27px;display:block;text-decoration:none;border:1px dashed #fff;background:url(images/icon-file.gif) 5px 50% no-repeat;}
.tree li a.tree-parent{background:url(images/icon-folder-open.gif) 5px 50% no-repeat;}
.tree li a.tree-parent-collapsed{background:url(images/icon-folder.gif) 5px 50% no-repeat;}
.tree li a:hover,.tree li a.tree-parent:hover,.tree li a:focus,.tree li a.tree-parent:focus,.tree li a.tree-item-active{color:#000;border:1px solid#eee;background-color:#fafafa;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}
.tree li a:focus,.tree li a.tree-parent:focus,.tree li a.tree-item-active{border:1px solid #e2f3fb;background-color:#f2fafd;}
.tree ul.tree-group-collapsed{display:none;}
</style>
<ul id="files">
	<li><a href="javascript:void(0);">jquery 特效</a>
		<ul>
			<li><a href="javascript:void(0);">jquery图片特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">jquery导航菜单</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">jquery选项卡特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">jquery文字特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">jquery表单特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">jquery表格特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<li><a href="javascript:void(0);">js特效</a>
		<ul>
			<li><a href="javascript:void(0);">js图片特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">js导航菜单</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">js选项卡特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">js文字特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">js表单特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
			<li><a href="javascript:void(0);">js表格特效</a>
				<ul>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
					<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
				</ul>
			</li>
		</ul>
	</li>
	<li><a href="javascript:void(0);">flash特效</a>
		<ul>
			<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
			<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
		</ul>
	</li>
	<li><a href="javascript:void(0);">div+css教程</a>
		<ul>
			<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
			<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
			<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
		</ul>
	</li>
	<li><a href="javascript:void(0);">html5教程</a>
		<ul>
			<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
			<li><a href="https://www.51qianduan.com/" target="_blank">51前端</a></li>
		</ul>
	</li>
</ul>

相关推荐

发表评论

相关文章