爱易网
IT新闻
IT新闻
爱易资讯
网站搭建
云虚拟主机教程
云服务器教程
Apache教程
IIS教程
Nginx教程
网站策划
站长文章
推广教程
淘宝客教程
网页设计
HTML教程
XHTML教程
CSS教程
HTML5教程
CSS3教程
JavaSript基础
JQuery教程
Node.js教程
前端技术
Ajax教程
Js特效
Xml教程
平面设计
页面UI设计
photoshop教程
程序开发
AI人工智能
Asp教程
Php教程
Asp.Net教程
Net Core教程
C#教程
Java教程
Jsp教程
开发技术
微信小程序教程
Uniapp开发教程
微信公众号开发
Andriod教程
IOS教程
DOS教程
Python教程
Docker教程
Windows Container教程
数据库
MSSQL教程
MySQL教程
Redis教程
Access教程
Oracle教程
数据库教程
操作系统
Linux教程
Windows教程
MAC教程
Cisco教程
交换机教程
防火墙教程
搜索
爱易网页
JS特效
仿京东商城左侧的一个导航条特效
仿京东商城左侧的一个导航条特效
日期:2014-05-18 浏览次数:20200 次
以下是程序代码
<!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=utf8" /> <title></title> <style type="text/css"> .my_left_category{ width:150px; font-size:12px; font-family:arial,sans-serif; letter-spacing:2px; } .my_left_category h1{ background-image:url(http://www.ueone.net/upload/360buy/spring_06.gif); height:20px; background-repeat:no-repeat; font-size:14px; font-weight:bold; padding-left:15px; padding-top:8px; margin:0px; color:#FFF; } .my_left_category .my_left_cat_list{ width:148px; border-color:#b60134; border-style:solid; border-width:0px 1px 1px 1px; line-height:13.5pt; } .my_left_category .my_left_cat_list h2 { margin:0px; padding:3px 5px 0px 9px; } .my_left_category .my_left_cat_list h2 a { color:#d6290b; font-weight:bold; font-size:14px; line-height:22px; } .my_left_category .my_left_cat_list h2 a:hover { color:#d6290b; font-weight:bold; font-size:14px; line-height:22px; } .my_left_category .h2_cat{ width:148px; height:26px; background-image:url(http://www.ueone.net/upload/360buy/my_menubg.gif); background-repeat:no-repeat; line-height:26px; font-weight:normal; color:#333333; position:relative; } .my_left_category .h2_cat_1{ width:148px; height:26px; background-image:url(http://www.ueone.net/upload/360buy/my_menubg_1.gif); background-repeat:no-repeat; line-height:26px; font-weight:normal; color:#333333; position:relative; } .my_left_category a{ font:12px; text-decoration:none; color:#333333; } .my_left_category a:hover{ text-decoration:underline; color:#ff3333; } .my_left_category h3{ margin:0px; padding:0px; height:26px; font-size:12px; font-weight:normal; display:block; padding-left:8px; } .my_left_category h3 span{color:#999999; width:145px; float:right;} .my_left_category h3 a{ line-height:26px;} .my_left_category .h3_cat{ display:none; width:204px; position:absolute; left:123px; margin-top:-26px; cursor:auto; } .my_left_category .shadow{ position:inherit; background:url(http://www.ueone.net/upload/360buy/shadow_04.gif) left top; width:204px; } .my_left_category .shadow_border{ position:inherit; width:200px; border:1px solid #959595; margin-top:1px; border-left-width:0px; background:url(http://www.ueone.net/upload/360buy/shadow_border.gif) no-repeat 0px 21px; background-color:#ffffff; margin-bottom:3px } .my_left_category .shadow_border ul{margin:0; padding:0; margin-left:15px} .my_left_category .shadow_border ul li { list-style:none; padding-left:10px; background-image:url(http://www.ueone.net/upload/360buy/my_cat_sub_menu_dot.gif); background-repeat:no-repeat; background-position:0px 8px; float:left; width:75px; height:26px; overflow:hidden; letter-spacing:0px; } .my_left_category .active_cat{ z-index:99;background-position:0 -25px;cursor:pointer;} .my_left_category .active_cat h3 { font-weight:bold} .my_left_category .active_cat h3 span{ display:none;} .my_left_category .active_cat div{display:block;} </style> </head> <body> <div class="my_left_category"> <h1>分类导航</h1> <div class="my_left_cat_list"> <h2><a href="#">按网站类别</a></h2> <div class="h2_cat" onmouseover="this.className='h2_cat active_cat'" onmouseout="this.className='h2_cat'"> <h3><a href="#">企业建站</a></h3> <div class="h3_cat"> <div class="shadow">
上一篇:兼容主流浏览器二级折叠菜单
下一篇:很实用的二级联动菜单
免责声明:
本文仅代表作者个人观点,与爱易网无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
相关资料
更多>
互联网金融一周年:余额宝最接地气,比特币最作死
虚拟运营商流量不清零吸引用户 盈利待明
百度“全网寻人”面前的互联网信息枢纽价值
金山毒霸安全中心: XP退役后首个高危漏洞来了
去看看外面的世界吧!别窝里斗了,中国在线旅游商们
传苹果中移动达成协议:新iPhone兼容TD制式
Kindle入华遭遇国内厂商“围剿 ” 电信也参战
为啥苹果定要出廉价iPhone?都是安卓逼的
北京电信推“0月租卡”,同网通话免费
推荐阅读
更多>
易信工具性优势突出 丁磊三板斧或先砍在飞信上
虚拟运营商前路迷茫 业界建议发力车联网
雅安地震 绝不宽恕应用人们爱心的骗子!
索尼移动中国区陷裁员风波:业务不佳 员工焦虑
《归来》遭视频网盗播 乐视网状告小米盒子侵权
高通拼抢国际芯片市场 联发科海外拓展难安心
玩游戏式的趣味戒烟App:Kwit
诺基亚再缩阵线 封锁上海旗舰店全力蜕变
唯品会股价飙升 引天猫当当京东进军闪购
诺基亚若没加入微软,只不过是另一个HTC而已
做大电影,阿里控股公司在港成立影业集团
优酷土豆兼并一年:依然处于烧钱形状
工信部或本月17日向联通电信颁发FDD牌照
从旗下三大业务BG发展看华为的过去现在和未来
虚拟运营市场躁动:山西煤老板兴味浓重
中国移动承诺再降4G资费 网络漫游至50个国家
马云的SNS之梦有了新目标 收购“微博”
【晚报】女子泰国游晒10照片 流量费2000
中移动财报外的"五座大山":运营商沦为走秀陪衬
富士康人事故骚动方寸 不惜血本下注电商