关于滑动门的代码,那时我还没有用上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>
- 【部编】人教版语文七年级下册《老山界》优质课教学视频+PPT课件+教案,安徽省
- 19 爱护鸟类_第一课时(二等奖)(桂美版二年级下册)_T502436
- 二年级下册数学第二课
- 沪教版牛津小学英语(深圳用) 五年级下册 Unit 7
- 【部编】人教版语文七年级下册《泊秦淮》优质课教学视频+PPT课件+教案,天津市
- 冀教版小学数学二年级下册第二周第2课时《我们的测量》宝丰街小学庞志荣.mp4
- 沪教版八年级下册数学练习册21.3(2)分式方程P15
- 沪教版牛津小学英语(深圳用) 六年级下册 Unit 7
- 苏科版数学八年级下册9.2《中心对称和中心对称图形》
- 外研版英语七年级下册module1unit3名词性物主代词讲解