北京住房补贴发放标准:我想做各折叠的效果

来源:百度文库 编辑:杭州交通信息网 时间:2024/05/06 13:43:42
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
dl{
background-color:#000;
color:#fff;
width:100px;
}
dt{
cursor:pointer;
width:100%;
background-color:#666;
}
.expand{
overflow:visible;
}
ss
height:16px;
overflow:hidden;
}
</style>
<script language="javascript" type="text/javascript">
<!--
function abc(dt){
var dl=dt.parentNode;
if("collapse"==dl.className)dl.className="expand";
else dl.classsName="collapse";
}
-->
</script>
</head>

<body>
<dl>
<dt onClick="abc(this)">和积极艰</dt>
<dd>111</dd>
<dd>222</dd>
<dd>333</dd>
</dl>
</body>
</html>