手册网
参考手册
在线工具
在线文档
在线代码
素材大全
推荐
导航
在线手册 »
WEB优质项目
开放平台
工具软件
CSS3.0中文手册
jQuery 1.8 参考手册
HTML4参考手册
HTML基础手册
HTML快速参考手册
MySQL5.1中文参考手册
JavaScript参考手册
Delphi6函数大全
Delphi7参考手册
SQL基础教程
jQuery 1.10 中文参考手册
CSS2 参考手册
ASP参考手册
C/C++中文手册
django中文教程
DOS命令大全
jQueryEasyUI1.3中文手册
Hibernate3.2中文参考文档
Html4.01参考手册
JAVA学习笔记
JSP中文教程
Linux参考手册
Lua5参考手册
Oracle参考手册
Phpcmsv9二次开发手册
phpwind二次开发手册
PostgreSQL参考手册
Python2中文手册
Spring2.5中文参考手册
XML参考手册
正则表达式参考手册
jQuery 1.11.3 中文参考手册
ThinkPHP3.2.2完全开发手册
ThinkPHP3.2.3完全开发手册
yii1和php5开发
ThinkPHP5.0完全开发手册
jQuery 3.1 参考手册
Underscore1.8.3 参考手册
Swift3 中文手册
Sass 3.4.21 中文手册
Backbone.js 1.1.2 API中文文档
JSDoc 参考手册
Webpack 2.2 中文文档
JavaScript 全栈教程
Nginx 中文官方手册
CSS4.2.4 参考手册
ThinkPHP5.1完全开发手册.CHM
HTML/CSS »
Html
Bootstrap
HTML5
CSS
CSS3
Foundation
JavaScript »
JavaScript
jQuery
HTML DOM
AngularJS
jQuery UI
jQuery EasyUI
Node.js
JSON
Highcharts
AJAX
React
jQuery插件大全
AlloyUI
Vue.js v2.0 中文
Vuex
vue-router
Underscore.js
Zepto.js
程序设计 »
PHP
Java
JSP
Python
Python3
Django
Linux
Ruby
C
C++
Servlet
Lua
Go
设计模式
正则表达式
ASP
AppML
VBScript
Scala
数据库 »
SQL
MySQL
SQLite
MongoDB
Redis
Memcached
移动端 »
jQuery Mobile
Android
ionic
IOS
Sencha Touch
Clouda+
efe
Frozen UI
Amaze UI
CardKit
App.js
Mobile Angular UI
Kendo UI
PhoneGap
Framework7
Junior
Jingle
mui
SUI Mobile
ReactNative
Weex
APICloud
Wex5
Ratchet
HTML5plus
Plane UI
Swift 教程
XML 教程 »
XML
DTD
XML DOM
XSLT
XPath
XQuery
XLink
XML Schema
XSLFO
SVG
ASP.NET »
ASP.NET
C#
开发工具 »
Eclipse
Git
Firebug
SVN 教程
Chrome 控制台
开源项目 »
Yii中文参考手册
Yii1开发教程
Yii2开发教程
ThinkPHP3.1开发教程
ThinkPHP3.2.3开发教程
地图开发
Wordpress
Laravel中文文档
Web Service »
Web Service 教程
WSDL 教程
SOAP 教程
RDF 教程
RSS 教程
转码工具 »
HTML/JavaScript格式化
CSS 格式化/压缩
JS格式化/加密/压缩
Native互换Unicode大全
日期格式化工具
Markdown转HTML
CSS 整理压缩
JSON 在线解析
短网址生成
代码处理 »
进制互换大全
16进制互换RGB
简体转繁体
汉字转拼音
小写转大写
大写转小写
加密和解密
繁体转简体
实用工具 »
Bootstrap图标定制
CSS 颜色选择器
字数统计
正则表达式测试
htpasswd 生成器
全世界数据库
IP归属地查询
实用计算器
生成二维码
ICO图标制作
CSS3 气泡对话框
CSS & JS Hack 大全
CSS3 背景渐变色生成器
CSS3 阴影边框生成器
CSS3 动画工具
Web 常用字体演示
CSS3 选择器演示
CSS 中文字体 Unicode 编码表
CSS3 GitHub Buttons
CSS Webkit 自定义滚动条样式
在线自动分词
ionic图标
阿里巴巴矢量图标库
IcoMoon 图标库
CSS3 代码生成
CSS3 Flexbox 演示
便民工具 »
快递查询
安全期计算器
周公解梦
笑话大全
常用对照表 »
HTTP Content-type 详细对照表
HTML特殊转义字符对照表
ASCII对照表
HTTP状态码详解
运算符优先级
TCP/UDP常见端口参考
经典小游戏 »
像素小鸟
爱消除
飞更高
俄罗斯方块
台球
贪吃蛇
拼图魔方
坦克大战
解救公主
中国象棋
压扁小鸟
打飞字
Flappy小鸟
登陆
小提示
Ctrl+/
代码提示(需
IE11
)
F11
键放大
ESC
键缩小
PgUp
上页
PgDn
下页
推荐代码
1
jQuery owlcarousel 旋转木马
2
jQuery仿蜜淘在线客服
3
jQuery-插件-图片左右无缝滚动
新7款HTML5/CSS3特效之浏览器的小泥块
新7款HTML5/CSS3特效之图片扇形展开
底部工具条,支持动画关闭,Li列表滚动,jQuery版
jquery相关的动画操作小例子
超酷jQuery菜单代码
CSS3圆角+投影效果带背景色的表格
鼠标移到图片上,图片开始疯狂抖动
8种超炫的html5 Loading加载图标动画
点击后文字会炸开的HTML5特效 图片爆炸效果
流动的网页背景代码,是不是很漂亮?
jQuery鼠标悬浮遮罩显示分享按钮
CSS3鼠标悬停360度旋转效果
运行代码
缩小
引入JS
jQuery
»
3.0.0
2.2.0
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.3
2.0.2
2.0.1
2.0.0
1.12.0
1.11.3
1.11.2
1.11.1
1.11.0
1.10.2
1.10.1
1.10.0
1.9.1
1.9.0
1.8.3
1.8.2
1.8.1
1.8.0
1.7.2
1.7.1
1.7
1.6.4
1.6.2
1.6.1
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
prototype
»
1.7.3
1.7.2
1.7.1.0
1.7.0.0
Angular
»
2.0.0-beta.0
2.0.0-alpha.55
1.5.0-rc.0
1.4.8
1.4.0
1.3.20
1.2.29
1.1.5
1.0.8
Underscore
»
1.8.3
1.7.0
1.6.0
1.5.2
1.4.4
1.3.3
1.2.4
1.1.7
Dojo
»
1.10.4
1.9.7
1.8.10
1.7.8
1.6.3
1.5.4
1.4.6
1.3.3
Mootools
»
core1.6.0
core-compat1.6.0
core1.5.2
core-compat1.5.2
core-full-compat-yc1.4.5
core-full-compat1.4.5
core-full-nocompat-yc1.4.5
core-full-nocompat1.4.5
Respond
»
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.0
html5shiv
»
3.7.3
3.7.2
3.7.1
3.7.0
3.7
3.6.2
3.6.1
3.6
引入框架
jQueryMobile
»
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.2
jQueryUI
»
1.11.4
1.11.3
1.11.2
1.11.1
1.11.0
1.10.4
1.10.3
1.10.2
Bootstrap
»
3.3.6
3.3.5
3.3.0
3.2.0
2.3.2
CDN库
CDN公共库
»
BootCDN开源项目CDN服务
引入图片
代码换肤
选择换肤
»
jerry
HTML代码
复制
格式化
注释
注释
清空
放大
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>一级横向滑动,二级竖向下拉综合菜单</title> <style type="text/css"> <!-- body,ul,ol,li,dl,dt,dd,h1{ margin:0; padding:0; list-style:none;} body { font:12px "Arial","宋体";color:#333;background:#FFF;} a{border:none; text-decoration:none;} #menu { width:980px; margin:30px auto;} #menu dl { padding-left:10px; height:30px;overflow:hidden; } #menu dl dd { float:left; padding-right:5px;} #menu dl dd a {display:block; padding-left:10px; background:url("//ku.shouce.ren/files/images/201601/56a080e4483ac.gif") no-repeat 0 -60px;} #menu dl dd a span { display:block; color:#630; width:50px; height:30px; text-align:center; line-height:34px; font-size:14px; padding-right:10px; background:url("//ku.shouce.ren/files/images/201601/56a080e4483ac.gif") no-repeat right -60px; overflow:hidden; } #menu dl dd a:hover, #menu dl dd.ok a { background-position: 0 -90px;} #menu dl dd a:hover span, #menu dl dd.ok a span { cursor:pointer; font-weight:bold; color:#FFF;background-position: right -90px;} #menu ol {clear:both; height:30px; background:url("//ku.shouce.ren/files/images/201601/56a080e4483ac.gif") repeat-x 0 0;} #menu ol li { float:left;} #menu ol li a { color:#FFF; display:block; width:70px; text-align:center; height:30px; line-height:32px; overflow:hidden;} #menu ol li a:hover, #menu ol li.ok a, #menu ol li.ol a{ font-weight:bold; background:url("//ku.shouce.ren/files/images/201601/56a080e4483ac.gif") no-repeat 0 -30px;} #menu ol li span { width:150px;position:absolute;background-color:#FEFEFE;} #menu ol li span h1 {font:12px "宋体"; float:none; display:block; background-color:#E6E6E6;} #menu ol li span h1 a, #menu ol li.ok span h1 a, #menu ol li.ok span ul a{ color:#333; width:148px; text-indent:10px; height:24px; line-height:26px; text-align:left; font-weight:normal; border-top:#FFF 1px solid; border-bottom:#A0A0A0 1px solid; border-right:#A0A0A0 1px solid; background-image:none; } #menu ol li span h1 a:hover, #menu ol li span h1.ok a {color:#930; font-weight:bold; background-image:none; background-color:#D9D9D9;} #menu ol li.ok span ul {width:147px; border:#E6E6E6 1px solid; border-top:none;overflow:hidden;} #menu ol li.ok span ul a {border:none;} #menu ol li.ok span ul a:hover { color:#930; font-weight:bold; text-indent:15px; background-image:none;} .no,.ol span { display:none;} --> </style> <script language="javascript"> <!--// function ShowMenu(obj,n){ var dd = obj.parentNode.getElementsByTagName("dd"); for(var i=0;i<dd.length;i++){dd[i].className = "";} dd[n].className = "ok"; var ol = document.getElementById("menu").getElementsByTagName("ol"); for(var i=0;i<ol.length;i++){ol[i].className = "no";} ol[n].className = ""; } function ShowSpan(obj,n){ var span = obj.parentNode.getElementsByTagName("span"); for(var i=0;i<span.length;i++){span[i].className = "no";} span[n].className = ""; var li = obj.parentNode.getElementsByTagName("li") li[n].className = "ok"; for(var i=0;i<li.length;i++){ if(i!=n){li[i].className = "";} li[i].onmouseout = function(){this.className = "ol";} } } function ShowUl(obj,n){ var ul = obj.parentNode.getElementsByTagName("ul"); var h1 = obj.parentNode.getElementsByTagName("h1"); for(var i=0; i<h1.length;i++){ h1[i].innerHTML = h1[i].innerHTML.replace("-","+"); h1[i].className = ""; } if(ul[n].className == "no"){ ul[n].className = ""; obj.className = "ok"; obj.innerHTML = obj.innerHTML.replace("+","-"); }else{ ul[n].className = "no"; return; } for(var i=0; i<ul.length;i++){if(i!=n){ ul[i].className = "no";}} } //--> </script> </head> <body> <div id="menu"> <dl> <dd class="ok" onmouseover="javascript:ShowMenu(this,0);"><a href="javascript:void(0);"><span>菜单A</span></a></dd> <dd onmouseover="javascript:ShowMenu(this,1);"><a href="javascript:void(0);"><span>菜单B</span></a></dd> <dd onmouseover="javascript:ShowMenu(this,2);"><a href="javascript:void(0);"><span>菜单C</span></a></dd> </dl> <ol> <li onmouseover="javascript:ShowSpan(this,0);"><a href="javascript:void(0);">菜单A_0</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单A_0_0</a></h1> <ul> <a href="javascript:void(0);">菜单A_0_0_0</a> <a href="javascript:void(0);">菜单A_0_0_1</a> </ul> <h1 onclick ="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单A_0_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单A_0_1_0</a> <a href="javascript:void(0);">菜单A_0_1_1</a> <a href="javascript:void(0);">菜单A_0_1_2</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,1);"><a href="javascript:void(0);">菜单A_1</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单A_1_0</a></h1> <ul> <a href="javascript:void(0);">菜单A_1_0_0</a> <a href="javascript:void(0);">菜单A_1_0_1</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单A_1_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单A_1_1_0</a> <a href="javascript:void(0);">菜单A_1_1_1</a> <a href="javascript:void(0);">菜单A_1_1_2</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,2);"><a href="javascript:void(0);">菜单A_2</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单A_2_0</a></h1> <ul> <a href="javascript:void(0);">菜单A_2_0_0</a> <a href="javascript:void(0);">菜单A_2_0_1</a> <a href="javascript:void(0);">菜单A_2_0_2</a> </ul> <h1 onclick ="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单A_2_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单A_2_1_0</a> <a href="javascript:void(0);">菜单A_2_1_1</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,3);"><a href="javascript:void(0);">菜单A_3</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单A_3_0</a></h1> <ul> <a href="javascript:void(0);">菜单A_3_0_0</a> <a href="javascript:void(0);">菜单A_3_0_1</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单A_3_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单A_3_1_0</a> <a href="javascript:void(0);">菜单A_3_1_1</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,4);"><a href="javascript:void(0);">菜单A_4</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单A_4_0</a></h1> <ul> <a href="javascript:void(0);">菜单A_4_0_0</a> <a href="javascript:void(0);">菜单A_4_0_1</a> <a href="javascript:void(0);">菜单A_4_0_2</a> </ul> <h1 onclick ="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单A_4_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单A_4_1_0</a> <a href="javascript:void(0);">菜单A_4_1_1</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,5);"><a href="javascript:void(0);">菜单A_5</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单A_5_0</a></h1> <ul> <a href="javascript:void(0);">菜单A_5_0_0</a> <a href="javascript:void(0);">菜单A_5_0_1</a> <a href="javascript:void(0);">菜单A_5_0_2</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单A_5_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单A_5_1_0</a> </ul> </span> </li> </ol> <!-- ol 0 End --> <ol class="no"> <li onmouseover="javascript:ShowSpan(this,0);"><a href="javascript:void(0);">菜单B_0</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单B_0_0</a></h1> <ul> <a href="javascript:void(0);">菜单B_0_0_0</a> <a href="javascript:void(0);">菜单B_0_0_1</a> </ul> <h1 onclick ="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单B_0_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单B_0_1_0</a> <a href="javascript:void(0);">菜单B_0_1_1</a> <a href="javascript:void(0);">菜单B_0_1_2</a> <a href="javascript:void(0);">菜单B_0_1_3</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,1);"><a href="javascript:void(0);">菜单B_1</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单B_1_0</a></h1> <ul> <a href="javascript:void(0);">菜单B_1_0_0</a> <a href="javascript:void(0);">菜单B_1_0_1</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单B_1_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单B_1_1_0</a> <a href="javascript:void(0);">菜单B_1_1_1</a> <a href="javascript:void(0);">菜单B_1_1_2</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,2);"><a href="javascript:void(0);">菜单B_2</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单B_2_0</a></h1> <ul> <a href="javascript:void(0);">菜单B_2_0_0</a> <a href="javascript:void(0);">菜单B_2_0_1</a> </ul> <h1 onclick ="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单B_2_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单B_2_1_0</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,3);"><a href="javascript:void(0);">菜单B_3</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单B_3_0</a></h1> <ul> <a href="javascript:void(0);">菜单B_3_0_0</a> <a href="javascript:void(0);">菜单B_3_0_1</a> <a href="javascript:void(0);">菜单B_3_0_2</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单B_3_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单B_3_1_0</a> <a href="javascript:void(0);">菜单B_3_1_1</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,4);"><a href="javascript:void(0);">菜单B_4</a> <span class="no"> <h1 class="ok" onclick="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单B_4_0</a></h1> <ul> <a href="javascript:void(0);">菜单B_4_0_0</a> <a href="javascript:void(0);">菜单B_4_0_1</a> <a href="javascript:void(0);">菜单B_4_0_2</a> <a href="javascript:void(0);">菜单B_4_0_3</a> </ul> <h1 onclick ="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单B_4_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单B_4_1_0</a> <a href="javascript:void(0);">菜单B_4_1_1</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,5);"><a href="javascript:void(0);">菜单B_5</a> <span class="no"> <h1 class="ok" onclick ="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单B_5_0</a></h1> <ul> <a href="javascript:void(0);">菜单B_5_0_0</a> <a href="javascript:void(0);">菜单B_5_0_1</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单B_5_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单B_5_1_0</a> <a href="javascript:void(0);">菜单B_5_1_1</a> </ul> </span> </li> </ol> <!-- ol 1 End --> <ol class="no"> <li onmouseover="javascript:ShowSpan(this,0);"><a href="javascript:void(0);">菜单C_0</a> <span class="no"> <h1 class="ok" onclick ="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单C_0_0</a></h1> <ul> <a href="javascript:void(0);">菜单C_0_0_0</a> <a href="javascript:void(0);">菜单C_0_0_1</a> <a href="javascript:void(0);">菜单C_0_0_2</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单C_0_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单C_0_1_0</a> <a href="javascript:void(0);">菜单C_0_1_1</a> <a href="javascript:void(0);">菜单C_0_1_2</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,1);"><a href="javascript:void(0);">菜单C_1</a> <span class="no"> <h1 class="ok" onclick ="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单C_1_0</a></h1> <ul> <a href="javascript:void(0);">菜单C_1_0_0</a> <a href="javascript:void(0);">菜单C_1_0_1</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单C_1_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单C_1_1_0</a> <a href="javascript:void(0);">菜单C_1_1_1</a> <a href="javascript:void(0);">菜单C_1_1_2</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,2);"><a href="javascript:void(0);">菜单C_2</a> <span class="no"> <h1 class="ok" onclick ="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单C_2_0</a></h1> <ul> <a href="javascript:void(0);">菜单C_2_0_0</a> <a href="javascript:void(0);">菜单C_2_0_1</a> <a href="javascript:void(0);">菜单C_2_0_3</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单C_2_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单C_2_1_0</a> <a href="javascript:void(0);">菜单C_2_1_3</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,3);"><a href="javascript:void(0);">菜单C_3</a> <span class="no"> <h1 class="ok" onclick ="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单C_3_0</a></h1> <ul> <a href="javascript:void(0);">菜单C_3_0_0</a> <a href="javascript:void(0);">菜单C_3_0_1</a> <a href="javascript:void(0);">菜单C_3_0_3</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单C_3_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单C_3_1_0</a> <a href="javascript:void(0);">菜单C_3_1_3</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,4);"><a href="javascript:void(0);">菜单C_4</a> <span class="no"> <h1 class="ok" onclick ="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单C_4_0</a></h1> <ul> <a href="javascript:void(0);">菜单C_4_0_0</a> <a href="javascript:void(0);">菜单C_4_0_1</a> <a href="javascript:void(0);">菜单C_4_0_3</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单C_4_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单C_4_1_0</a> <a href="javascript:void(0);">菜单C_4_1_1</a> <a href="javascript:void(0);">菜单C_4_1_2</a> </ul> </span> </li> <li onmouseover="javascript:ShowSpan(this,5);"><a href="javascript:void(0);">菜单A_5</a> <span class="no"> <h1 class="ok" onclick ="javascript:ShowUl(this,0)"><a href="javascript:void(0);"> - 菜单A_5_0</a></h1> <ul> <a href="javascript:void(0);">菜单A_5_0_0</a> <a href="javascript:void(0);">菜单A_5_0_3</a> </ul> <h1 onclick="javascript:ShowUl(this,1)"><a href="javascript:void(0);"> + 菜单A_5_1</a></h1> <ul class="no"> <a href="javascript:void(0);">菜单A_5_1_0</a> <a href="javascript:void(0);">菜单A_5_1_3</a> </ul> </span> </li> </ol> </div> </body> </html>
CSS代码
复制
格式化
注释
注释
颜色
清空
放大
JS代码
复制
格式化
注释
注释
清空
放大
运行代码
简介
请输入代码名称!
名称
一级横向滑动,二级竖向下拉综合菜单
分类
菜单导航
描述
一级横向滑动,二级竖向下拉综合菜单,这个菜单一共是三级,前两级是滑动切换的方式,第三级主要是下拉菜单的形式,虽然简单的样式简约,但是实现他们其实是很复杂的,希望从事前端开发的朋友一同参考一下吧。
收藏