- 2
- 0
- 约3.22千字
- 约 4页
- 2017-06-08 发布于重庆
- 举报
当鼠标点击上去悬浮,动态翻滚的导航条
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN /TR/xhtml1/DTD/xhtml1-transitional.dtd meta http-equiv Content-Type content text/html; charset gb2312 / 动态翻滚的导航条 style type text/css
.clear:after content:.; display:block; height:0; clear:both; visibility:hidden .clear display:inline-block .clear display:block
div#nav height:32px; background:url /demoimg/200911/YL29.jpg repeat-x
div#nav ul
width:705px;
list-style:none;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: 0px; div#nav ul li
float:left;
height:32px;
overflow:hidden;
background-image: url /demoimg/200911/YL30.jpg ;
background-repeat: repeat-y;
background-position: right 0;
padding-top: 0;
padding-right: 1px;
padding-bottom: 0;
padding-left: 0px;
font-family: Arial;
font-size: 12px;
line-height: 32px;
font-weight: bold; div#nav ul li a
float:left;
height:100%;
width: 77px;
background:url /demoimg/200911/YL28.jpg repeat-x;
color:#fff;
text-decoration:none;
padding-top: 0;
padding-right: 5px;
padding-bottom: 0;
padding-left: 5px;
text-align:center; div#nav ul li a.hover
clear:both;
background-position:0 -32px;
width: 77px; div#nav ul li.on a
background-position:0 -32px; div#nav ul li.nobg background:none
/* ]] */ div id nav ul class clear a href 脚本之家 a href # 网页特效 a href # 工具软件 a href # 源码下载 a href # 菜单导航 a href # 层和布局 a href # 论坛社区 a href # 广告联系 li class nobg script type text/javascript
/* ![CDATA[ */
function nav c, config this.config config || speed: 10, num: 2 ;
this.container typeof c object ? c : document.getElementById c ;
this.lineHeight this.container.offsetHeight;
this.scrollTimeId null;
var _this this;
this.__construct function var inner,el,href;
inner _this.container.childNodes[0].innerHTML;
href _this.container.childNodes[0].href;
el document.createElement a ;
el.innerHTML inner;
el.href href;
el.className hover;
_this.container.appendChild el ;
_this.container.onmouseover
您可能关注的文档
- 当代社会中国问题(选修课)作业.doc
- 当代眼镜视光学科普知识.doc
- 当代社会,求博更有利于个人发展PK求专更有利于个人发展.doc
- 当代行政改革趋势之展望.doc
- 当代西方思想史大纲.doc
- 当代西方积极学流派.doc
- 当代诗人的“合法”性.doc
- 当代青年男女爱情必须面对八大严峻考验.doc
- 当传统零售遭遇电商冲击如何应对.doc
- 当你内心还存在不甘心时,就还没到放弃的时候.docx
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
最近下载
- 中国心律失常护理专家共识(2025版).docx
- 审计模拟实训教程 第5版 参考答案汇总 马春静.pdf
- 迷宫挑战级难度挺大80个.pdf VIP
- 铁路技术规章:客车统计规则.pdf VIP
- 6~23月婴幼儿辅食喂养指南解读.pptx VIP
- 幼儿教育政策与法规教学案例.pdf VIP
- 具身智能 智能化发展阶段分级指南V6.pdf VIP
- 渔夫和他的灵魂TheFishermanandhisSoul(可编辑).pdf VIP
- 核电站主设备结构2012年11月27日.pdf VIP
- 电机学(第七版)(修订版)习题答案 刘新正 ElectricMachineryEdition7Solutions.pdf
原创力文档

文档评论(0)