用框架实现的。
当你点积隐藏的时候执行下面代码。
function hidetoc()
{
strColumns_Current = top.mainframeset.cols
top.mainframeset.cols = "1,*";//主要是它的作用
top.contentbar.document.all("showtoc").style.display = "block";
}
就是把左边的框架大小变为1。这样就看不到了。
当你点积隐藏的时候执行下面代码。
function hidetoc()
{
strColumns_Current = top.mainframeset.cols
top.mainframeset.cols = "1,*";//主要是它的作用
top.contentbar.document.all("showtoc").style.display = "block";
}
就是把左边的框架大小变为1。这样就看不到了。
这几个属性看不太懂 contentbar ??