代码语言
.
CSharp
.
JS
Java
Asp.Net
C
MSSQL
PHP
Css
PLSQL
Python
Shell
EBS
ASP
Perl
ObjC
VB.Net
VBS
MYSQL
GO
Delphi
AS
DB2
Domino
Rails
ActionScript
Scala
代码分类
文件
系统
字符串
数据库
网络相关
图形/GUI
多媒体
算法
游戏
Jquery
Extjs
Android
HTML5
菜单
网页交互
WinForm
控件
企业应用
安全与加密
脚本/批处理
开放平台
其它
【
Css
】
upmenu-水平竖弹向上三级弹出菜单
作者:
Dezai.CN
/ 发布于
2012/4/1
/
622
upmenu-水平竖弹向上三级弹出菜单
<div> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "</span><a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" style="color: rgb(122, 148, 174); text-decoration: none; font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a><span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">"></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><html xmlns="</span><a href="http://www.w3.org/1999/xhtml" style="color: rgb(122, 148, 174); text-decoration: none; font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">http://www.w3.org/1999/xhtml</a><span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">"></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><head></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><title>upmenu-水平竖弹向上三级弹出菜单</title></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><style type="text/css"></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">/* common styling */</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu {font-family: verdana, arial, sans-serif; width:735px; position:relative; font-size:11px; margin:50px auto;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a, .menu ul li a:visited {display:block; text-decoration:none; width:94px; height:25px; text-align:left; color:#000; padding-left:10px; border:1px solid #fff; border-width:0 1px 1px 0; background:#c9c9a7; line-height:25px; font-size:11px;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul {padding:0; margin:0;list-style-type: none; }</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li {float:left; position:relative;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li ul {display: none;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">/* specific to non IE browsers */</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover a {color:#000; background:#e9e9c7;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul {display:block; position:absolute; bottom:26px; left:0;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li a.hide {background:#a7c9c9; color:#000;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li {display:block; background:#fff; color:#000;width:199px; clear:both;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li:hover a.hide {background:#dfc184; color:#000;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li ul {display: none;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li a {display:block; background:#c9a7c9; color:#000; width:100%; padding-left:10px;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li a:hover {background:#dfc184; color:#000;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li:hover ul {display:block; position:absolute; left:210px; bottom:0;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li:hover ul li a {background:#dfc184; color:#000;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li:hover ul li a:hover {background:#c9c9a7; color:#000;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul.left {left:-105px;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li:hover ul li:hover ul.left {left:-210px; width:209px;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "></style></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><!--[if lte IE 6]></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><style type="text/css"></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">table {border-collapse:collapse; margin:0; padding:0;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a.hide, .menu ul li a:visited.hide {display:none;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li a.hide {display:none;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover {color:#000; background:#e9e9c7;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul {display:block; position:absolute; bottom:26px; left:0;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li {display:block; background:#fff; color:#000; width:199px;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li a.sub {background:#a7c9c9; color:#000;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li a {display:block; background:#c9a7c9; color:#000; width:100%; padding-left:10px;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li a ul {visibility:hidden;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li a:hover {background:#dfc184; color:#000;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li a:hover ul {visibility:visible; position:absolute; left:210px; bottom:0;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li a:hover ul li a {background:#dfc184; color:#000;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li a:hover ul li a:hover {background:#c9c9a7; color:#000;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul.left {left:-105px;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; ">.menu ul li a:hover ul li a:hover ul.left {left:-210px;}</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "></style></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><![endif]--></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "></head></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><body></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> </span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> </span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> </span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> </span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> </span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> </span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> </span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> </span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> </span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><div class="menu"></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><ul></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><li><a class="hide" href="../menu/index.html">DEMOS</a></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><!--[if lte IE 6]></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><a href="../menu/index.html">DEMOS</span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><table><tr><td></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "><![endif]--></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <ul></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <li><a href="../menu/zero_dollars.html" title="The zero dollar ads page">zero dollars</a></li></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <li><a href="../menu/embed.html" title="Wrapping text around images">wrapping text</a></li></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <li><a href="../menu/form.html" title="Styling forms">styled form</a></li></span><br style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <span style="color: rgb(51, 51, 51); font-family: Verdana; font-size: 14px; line-height: 25px; text-indent: 28px; "> <li><a href="../menu/nodots.html" title="Removing active/focus borders">active focus</a></li></span></div>
试试其它关键字
同语言下
.
前端PC-移动端CSS公共样式+HTML
.
手机端页面通用样式
.
H5页面通用头部设置
.
elect默认样式美化代码兼容移动端和pc端
.
按钮效果 css
.
唤醒app
.
放大效果
.
html5+css3实现上拉和下拉刷新
.
html上传图片后,在页面显示上传的图片
.
html5实现点击弹出图片
可能有用的
.
前端PC-移动端CSS公共样式+HTML
.
手机端页面通用样式
.
H5页面通用头部设置
.
elect默认样式美化代码兼容移动端和pc端
.
按钮效果 css
.
唤醒app
.
放大效果
.
html5+css3实现上拉和下拉刷新
.
html上传图片后,在页面显示上传的图片
.
html5实现点击弹出图片
Dezai.CN
贡献的其它代码
(
4037
)
.
多线程Socket服务器模块
.
生成随机密码
.
清除浮动样式
.
弹出窗口居中
.
抓取url的函数
.
使用base HTTP验证
.
div模拟iframe嵌入效果
.
通过header转向的方法
.
Session操作类
.
执行sqlite输入插入操作后获得自动编号的ID
Copyright © 2004 - 2024 dezai.cn. All Rights Reserved
站长博客
粤ICP备13059550号-3