标签切换
来源:互联网 发布:excel 对数据进行统计 编辑:程序博客网 时间:2024/05/22 04:36
<!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=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.TLeft
{
float: left;
}
.Border1
{
border: 1px solid #cccccc;
}
.cg1
{
float: left;
width: 100px;
height: 35px;
background-color: #eff8ff;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
.cg2
{
float: left;
width: 100px;
height: 35px;
background-color: #eff8ff;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
.cg3
{
float: left;
width: 100px;
height: 36px;
border-right: 1px solid #cccccc;
background-color: #ffffff;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
</style>
<script type="text/javascript">
function cc(i) {
for (t = 1; t <= 3; t++) {
document.getElementById("L" + t).className = "cg1";
document.getElementById("C" + t).style.display = "none";
}
document.getElementById("L" + i).className = "cg3";
document.getElementById("C" + i).style.display = "";
}
</script>
</head>
<body>
<div class="TLeft Border1" style="height:564px; width:100%; margin-top:20px">
<div style="height:35px;width:1000; background-color:#eff8ff; border-bottom: 1px solid #cccccc">
<div id="L1" class="cg3" onmousemove="cc('1')">待付款</div>
<div id="L2" class="cg2" onmousemove="cc('2')">已付款</div>
<div id="L3" class="cg1" onmousemove="cc('3')">已消费</div>
</div>
<div id="C1" style="float: left; width: 730px; height: 380px; margin: 10px; display:block; ">ssss
</div>
<div id="C2" style="float: left; width: 730px; height: 380px; margin: 10px; display: none">dfddd
</div>
<div id="C3" style="float: left; width: 730px; height: 380px; margin: 10px; display: none">dfgggddd
</div>
</div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.TLeft
{
float: left;
}
.Border1
{
border: 1px solid #cccccc;
}
.cg1
{
float: left;
width: 100px;
height: 35px;
background-color: #eff8ff;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
.cg2
{
float: left;
width: 100px;
height: 35px;
background-color: #eff8ff;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
.cg3
{
float: left;
width: 100px;
height: 36px;
border-right: 1px solid #cccccc;
background-color: #ffffff;
line-height: 35px;
text-align: center;
font-size: 14px;
font-family: 微软雅黑;
cursor: pointer;
}
</style>
<script type="text/javascript">
function cc(i) {
for (t = 1; t <= 3; t++) {
document.getElementById("L" + t).className = "cg1";
document.getElementById("C" + t).style.display = "none";
}
document.getElementById("L" + i).className = "cg3";
document.getElementById("C" + i).style.display = "";
}
</script>
</head>
<body>
<div class="TLeft Border1" style="height:564px; width:100%; margin-top:20px">
<div style="height:35px;width:1000; background-color:#eff8ff; border-bottom: 1px solid #cccccc">
<div id="L1" class="cg3" onmousemove="cc('1')">待付款</div>
<div id="L2" class="cg2" onmousemove="cc('2')">已付款</div>
<div id="L3" class="cg1" onmousemove="cc('3')">已消费</div>
</div>
<div id="C1" style="float: left; width: 730px; height: 380px; margin: 10px; display:block; ">ssss
</div>
<div id="C2" style="float: left; width: 730px; height: 380px; margin: 10px; display: none">dfddd
</div>
<div id="C3" style="float: left; width: 730px; height: 380px; margin: 10px; display: none">dfgggddd
</div>
</div>
</body>
</html>
0 0
- 标签 切换
- 标签切换
- 标签切换
- 标签切换
- 浏览器标签快速切换
- 标签切换效果
- tabs 标签切换
- vim多标签切换
- jquery标签切换
- tab标签切换
- nerdtree切换标签
- class 标签切换
- A标签切换图片
- vim 多标签切换
- 4.标签切换
- 标签切换js
- chrome标签切换慢
- 点击标签切换DIV
- META-INF
- 通过分母有理化求根式的值
- DOG尺度空间
- Android
- MIB
- 标签切换
- 使用VS2005创建COM
- poj 2482 Stars in Your Window(线段树+扫描线)
- mongodb中的group功能
- eclipse配置spket
- Java 文件拷贝
- cocos2dx中的屏幕大小
- 内部类与匿名内部类区别和应用
- hadoop DistributeCatche使用代码片段