看他怎么实现的啊!

lyhold 2003-02-18 02:39:12
http://www.codeclub.net/bbs/index.asp?URL=reg.asp

点一下,左边的可以隐藏!
如果是控件,请问那有下的!
...全文
28 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hengxin54 2003-02-18
  • 打赏
  • 举报
回复
用层来实现
<input type=button value="隐藏/显示" onclick="showhide()">
<div id="list">这是一个显示隐藏实例</div>
<script language=js>
var isshow=true;
function showhide()
{
if (isshow) {
document.all("list").style.display="";
isshow=false;}
else
{ document.all("list").style.display="none";
isshow=true;}

}
</script>
arclala 2003-02-18
  • 打赏
  • 举报
回复
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>BBS3000</TITLE><NOSCRIPT></NOSCRIPT><!--nobanner--><NOSCRIPT></NOSCRIPT><!--nobanner-->
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<SCRIPT>
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("frmTitle").style.display="none"
}else{
switchPoint.innerText=3
document.all("frmTitle").style.display=""
}}
</SCRIPT>
</HEAD>
<BODY style="MARGIN: 0px" scroll=no>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD id=frmTitle vAlign=center noWrap align=middle><IFRAME
style="Z-INDEX: 2; VISIBILITY: inherit; WIDTH: 110px; HEIGHT: 100%" name=yuzi
src="list.cgi?menu=many" frameBorder=0></IFRAME>
<TD bgColor=#0095f9>
<TABLE height="100%" cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD style="HEIGHT: 100%" onclick=switchSysBar()><FONT
style="FONT-SIZE: 9pt; CURSOR: hand; COLOR: white; FONT-FAMILY: Webdings"><SPAN
id=switchPoint>3</SPAN> </FONT></TR></TBODY></TABLE></TD>
<TD style="WIDTH: 100%"><NOSCRIPT></NOSCRIPT><!--nobanner--><IFRAME id=main
style="Z-INDEX: 1; VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 100%" name=main
src="list.cgi?menu=main_frame" frameBorder=0
scrolling=yes></IFRAME></TD></TR></TBODY></TABLE><NOSCRIPT></NOSCRIPT><!--nobanner--><NOSCRIPT></NOSCRIPT><!--nobanner--></BODY></HTML>

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧