关于滑动门的代码,那时我还没有用上IE7,FF,结果,发现只能在IE6下运行,代码也很长;今天又有朋友问我这个,我只好花一点时间,终于把这个东东完成了,希望大家喜欢;
兼容IE7;FF;IE6
代码更简洁,更易读;
<!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 media="screen" type="text/css">
</style>
</head>
<body>
<div class="w936">
<div id="tb_" class="tb_">
<ul>
<li id="tb_1" class="hovertab" onmouseover="xgz:HoverLi(1);">网上房展会</li>
<li id="tb_2" class="normaltab" onmouseover="xgz:HoverLi(2);">本月开盘</li>
<li id="tb_3" class="normaltab" onmouseover="xgz:HoverLi(3);">知名开发商</li>
<li id="tb_4" class="normaltab" onmouseover="xgz:HoverLi(4);">栏目导航</li>
<li id="tb_5" class="normaltab" onmouseover="xgz:HoverLi(5);">哈哈哈哈</li>
<li id="tb_6" class="normaltab" onmouseover="xgz:HoverLi(6);">Q小鸽子</li>
</ul>
</div>
<div class="ctt">
<div class="dis" id="tbc_01">内容1</div>
<div class="undis" id="tbc_02">内容2</div>
<div class="undis" id="tbc_03">内容3</div>
<div class="undis" id="tbc_04">内容4</div>
<div class="undis" id="tbc_05">内容5</div>
<div class="undis" id="tbc_06">内容6 [Q小鸽子]</div>
</div>
</div>
<hr author="http://xiaogezi.cn" style="color:red;" />
</body>
</html>
- 19 爱护鸟类_第一课时(二等奖)(桂美版二年级下册)_T502436
- 北师大版数学 四年级下册 第三单元 第二节 小数点搬家
- 外研版英语三起6年级下册(14版)Module3 Unit2
- 沪教版八年级下次数学练习册21.4(2)无理方程P19
- 30.3 由不共线三点的坐标确定二次函数_第一课时(市一等奖)(冀教版九年级下册)_T144342
- 苏科版八年级数学下册7.2《统计图的选用》
- 六年级英语下册上海牛津版教材讲解 U1单词
- 沪教版牛津小学英语(深圳用) 四年级下册 Unit 3
- 8.对剪花样_第一课时(二等奖)(冀美版二年级上册)_T515402
- 8 随形想象_第一课时(二等奖)(沪教版二年级上册)_T3786594