一个简单的滑动门 代码
2007-11-27 14:52
302 查看
<div><table border="0" cellpadding="0" cellspacing="1" style="background-color:#333333">
<tr>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,1);" onmouseout="ObjMouseOut(this,1);" >Test1</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,2);" onmouseout="ObjMouseOut(this,2);" >Test2</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,3);" onmouseout="ObjMouseOut(this,3);" >Test3</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,4);" onmouseout="ObjMouseOut(this,4);" >Test4</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,5);" onmouseout="ObjMouseOut(this,5);" >Test5</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,6);" onmouseout="ObjMouseOut(this,6);" >Test6</td>
</tr>
<tr>
<td colspan="6">
<div id="con1" style="height:100px;background-color:#ffffff;display:block">第1层 DIV 1</div>
<div id="con2" style="height:100px;background-color:#ffffff;display:none">第2层 DIV 2</div>
<div id="con3" style="height:100px;background-color:#ffffff;display:none">第3层 DIV 3</div>
<div id="con4" style="height:100px;background-color:#ffffff;display:none">第4层 DIV 4</div>
<div id="con5" style="height:100px;background-color:#ffffff;display:none">第5层 DIV 5</div>
<div id="con6" style="height:100px;background-color:#ffffff;display:none">第6层 DIV 6</div>
</td>
</tr>
</table>
<tr>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,1);" onmouseout="ObjMouseOut(this,1);" >Test1</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,2);" onmouseout="ObjMouseOut(this,2);" >Test2</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,3);" onmouseout="ObjMouseOut(this,3);" >Test3</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,4);" onmouseout="ObjMouseOut(this,4);" >Test4</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,5);" onmouseout="ObjMouseOut(this,5);" >Test5</td>
<td style="background-color:#fefefe;text-align:center;padding-left:5px;padding-right:5px;" onmouseover="ObjMouseOver(this,6);" onmouseout="ObjMouseOut(this,6);" >Test6</td>
</tr>
<tr>
<td colspan="6">
<div id="con1" style="height:100px;background-color:#ffffff;display:block">第1层 DIV 1</div>
<div id="con2" style="height:100px;background-color:#ffffff;display:none">第2层 DIV 2</div>
<div id="con3" style="height:100px;background-color:#ffffff;display:none">第3层 DIV 3</div>
<div id="con4" style="height:100px;background-color:#ffffff;display:none">第4层 DIV 4</div>
<div id="con5" style="height:100px;background-color:#ffffff;display:none">第5层 DIV 5</div>
<div id="con6" style="height:100px;background-color:#ffffff;display:none">第6层 DIV 6</div>
</td>
</tr>
</table>
相关文章推荐
- 一个简单的滑动门效果-完整代码
- 一个简单的滑动门效果代码
- jquery实现弹出确认是否删除的一个简单代码
- 一个简单的开机启动代码
- 简单的一个CSS菜单,不用图片也很好看_网页代码站(www.webdm.cn)
- 一个简单的态机模式工作流演示(2)(代码与实现)
- 【转】一个DIV+CSS代码布局的简单导航条
- [导入]Asp.net 2.0 一个简单的联动DropDownList示例(示例代码下载)
- 一个数据库连接池的简单代码
- 发一个flash+PHP的简单上传代码
- 用一行python代码做一个简单的web服务器
- 一个简单的异或代码
- NDK的一个简单例子代码
- 简单代码实现C#中运行另外一个程序
- 使用纯代码自定义UItableviewcell实现一个简单的微博界面布局
- Linux内核分析—完成一个简单的时间片轮转多道程序内核代码
- 《Linux内核分析》week1作业-分析一个简单c语言的汇编代码
- 简单完整的代码,通过这个代码你将对RSA加密算法在Java中的实现方法有一个初步的了解,这个类,你可以直接使用,水平高的,就自己修改完善下代码。
- 设计技巧32:信使简化代码 Messenger 简单地将信息打包到一个用于传送的对象中
- 云课堂 Linux内核分析 通过反汇编一个简单的C程序,分析汇编代码理解计算机是如何工作的