菜单
来源:互联网 发布:c语言用for九九乘法表 编辑:程序博客网 时间:2024/04/28 06:31
<!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" />
<style>
.hi {
height:200px;
background-color:#990033;
}
.dd{
height:40px;
background-color:#396;
}
</style>
<script language="JavaScript" type="text/javascript">
var thisdiv
function go(i){
var thisdiv2=document.getElementById("s"+i);
if(thisdiv!=undefined && thisdiv!=thisdiv2)thisdiv.style.display = "none";
if(thisdiv2.style.display == "none"){
thisdiv2.style.display = "block";
thisdiv=thisdiv2;
}
else{
thisdiv2.style.display = "none";
}
}
</script>
</head><body>
<div class="dd" id="d1" onclick="go(1)">菜单1<br />
<div class="hi"style="display: none" id="s1">1111<br />111111<br />111<br />111</div>
</div>
<div class="dd" id="d2" onclick="go(2)">菜单2<br />
<div class="hi"style="display: none" id="s2">2222<br />22222<br />22<br />22</div>
</div>
<div class="dd" id="d3" onclick="go(3)">菜单3<br />
<div class="hi"style="display: none" id="s3">3333<br />33<br />333333</div>
</div>
<div class="dd" id="d4" onclick="go(4)">菜单4<br />
<div class="hi"style="display: none" id="s4">4444444<br />44444</div>
</div>
<div class="dd" id="d5" onclick="go(5)">菜单5<br />
<div class="hi"style="display: none" id="s5">5<br />55555<br />55<br />555</div>
</div>
</body>
</html>
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- 菜单
- ADO.NET—Asp.net 用DataSet对象更新数据(SqlDataAdapter)
- 鼠标经过显示图片
- linux内核的 等待队列 使用方法,wait_queue_head_t,进程休眠
- 网站的安全与稳定
- js 文件压缩-jsmin简介
- 菜单
- 关于配置文件中不允许有子节点错误的总结
- MyEclipse+WebSphere 通过 JNDI 连接 Sybase 简介
- 我的menu.lst(grub4dos)
- 开源Java短信投票系统Demo【仅作收藏】
- Understanding Linux Network Internals-4. Preface
- 捋顺公司流程
- 用栈实现运算表达式
- 看当当网的快递员