61,112
社区成员
发帖
与我相关
我的任务
分享
<head runat="server">
<meta charset="UTF-8" />
<title></title>
<link href="StyleSheet3.css" rel="stylesheet" type="text/css" />
</head>
<body style="font-family :@楷体_GB2312 ; font-weight :bolder ; color :Olive ;">
<form id="form1" runat="server">
<div id ="div1" onmousedown ="show'mm'" onmouseout ="hide'mm'">
培训管理<hr style ="width:150px;color:Maroon;position:absolute;left:0px; right: 717px;"/></div>
<div id="mm" >
<ul >
<li ><a href ="RenL_1.aspx" target="middle">查看培训信息</a></li>
<li ><a href ="RenL_2.aspx" target="middle">检索培训信息</a></li>
<li ><a href ="RenL_3.aspx" target="middle">删除培训信息</a></li>
<li><a href ="RenL_4.aspx" target="middle">添加培训信息</a></li>
</ul>
</div>
<script language ="javascript" type ="text/javascript" >
function $(id) {
return document.getElementById(id );
}
function show(id){
$ (id ).style.display="";
}
function hide(id){
$ (id ).style.display="none";
}
</script>
</form>
</body>
onmousedown ="show('mm')" onmouseout ="hide('mm')"
<script language ="javascript" type ="text/javascript" >
function $(id) {
return document.getElementById(id );
}
function fn(id) {
var t = $(id);
if (t.style.display == 'none') {
t.style.display = '';
}
else {
t.style.display='none';
}
}
还是没有折叠的效果呢!!!<head runat="server">
<meta charset="gbk" />
<title></title>
<link href="StyleSheet3.css" rel="stylesheet" type="text/css" />
</head>
<body style="font-family :@楷体_GB2312 ; font- weight :bolder ; color :Olive ;">
<form id="form1" runat="server">
<div id ="div1" onclick="fn('mm')">
培训管理<hr style ="width:150px;color:Maroon;position:absolute;left:0px; right: 717px;"/></div>
<div id="mm" >
<ul >
<li ><a href ="RenL_1.aspx" target="middle">查看培训信息</a></li>
<li ><a href ="RenL_2.aspx" target="middle">检索培训信息</a></li>
<li ><a href ="RenL_3.aspx" target="middle">删除培训信息</a></li>
<li><a href ="RenL_4.aspx" target="middle">添加培训信息</a></li>
</ul>
</div>
<script language ="javascript" type ="text/javascript" >
function $(id) {
return document.getElementById(id );
}
function fn(id){
var t = $(id);
t.style.display == 'none' ?
t.style.display = '':
t.style.display = 'none';
}
</script>
</form>
</body>