十年怕井绳的小故事:网页设计:有三个框架,如要在一个框架中控其他两个,使其展开,合并

来源:百度文库 编辑:高考问答 时间:2024/04/28 14:43:21

<SCRIPT language="javascript">
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("mnuList").style.display="none"
top.content.cols="16,*"
}
else{
switchPoint.innerText=3
document.all("mnuList").style.display=""
top.content.cols="161,*"
}
}
if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}