帮我看看这段代码
下面这代码是在一个左右框架页的左页,框架名字叫content,这代码主要实现像csdn这样的隐藏/显示左边菜单的,可是用到我自己的页面上就不行了,提示说top.content为空或不是对象,谁帮我解释一下以下两句的意思,顺便改正了,因为原页面中我也不见有对top定义的
<SCRIPT language=javascript>
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all("mnuList").style.display="none"
top.content.cols="10,*" //这一句不懂
}
else{
switchPoint.innerText=3
document.all("mnuList").style.display=""
top.content.cols="180,*" //这一句不懂
}
}
</SCRIPT>
<STYLE>.navPoint {
FONT-SIZE: 9pt; CURSOR: hand; COLOR: white; FONT-FAMILY: Webdings
}
</STYLE>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="100%" height="339">
<TABLE height="200" border=0 align=center
cellPadding=0 cellSpacing=0 bgColor=#005d99 id=mnuList>
<TBODY>
<TR bgColor=#7d9dc0>
<TD width="100%" align=right><IMG height=8 src="menu.files/blank.gif"
width=10></TD>
</TR>
</TBODY>
</TABLE></TD>
<TD style="WIDTH: 10px" bgColor=#005d99>
<TABLE onclick=switchSysBar() height="100%" cellSpacing=0 cellPadding=0
width=12 border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle><SPAN class=navPoint id=switchPoint
title=关闭/打开左栏>3</SPAN>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>