这个是控制脚本:
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
//parent.document.all("frmTitle").style.display="none"
//alert(top.content.rows)
document.all("mnuList").style.display="none"
top.content.cols="10,*"
}
else{
switchPoint.innerText=3
document.all("mnuList").style.display=""
top.content.cols="150,*"
}
}下面是frames代码,你自已参考参考吧:
<frameset name=forum rows="28,*" noresize scrolling="no" border=0 frameborder="0" bordercolor="white" framespacing="0" >
<frame name=title src="title.asp" noresize scrolling="no" >
<frameset name=content cols="150,*" noresize scrolling="no" border=0 frameborder="0" framespacing="0">
<frameset name=menu noresize scrolling="no" border=0 frameborder="0" framespacing="0" rows="20,*">
<frame name="BoardRefresh" noresize scrolling="no" src="">
<frame name="BoardTitle" noresize scrolling="no" target="BoardMenu" src="menu.asp">
</frameset>
<frame src="main.asp?boardid=1" name="BoardMain">
</frameset>
</frameset>
<noframes>
<body>
sorry ! your browser not support frame!
</body>
</noframes>
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
//parent.document.all("frmTitle").style.display="none"
//alert(top.content.rows)
document.all("mnuList").style.display="none"
top.content.cols="10,*"
}
else{
switchPoint.innerText=3
document.all("mnuList").style.display=""
top.content.cols="150,*"
}
}下面是frames代码,你自已参考参考吧:
<frameset name=forum rows="28,*" noresize scrolling="no" border=0 frameborder="0" bordercolor="white" framespacing="0" >
<frame name=title src="title.asp" noresize scrolling="no" >
<frameset name=content cols="150,*" noresize scrolling="no" border=0 frameborder="0" framespacing="0">
<frameset name=menu noresize scrolling="no" border=0 frameborder="0" framespacing="0" rows="20,*">
<frame name="BoardRefresh" noresize scrolling="no" src="">
<frame name="BoardTitle" noresize scrolling="no" target="BoardMenu" src="menu.asp">
</frameset>
<frame src="main.asp?boardid=1" name="BoardMain">
</frameset>
</frameset>
<noframes>
<body>
sorry ! your browser not support frame!
</body>
</noframes>
解决方案 »
- 性能分析:oracle还是mysql,JSP页面作为Cache还是暂存html
- 选项卡点击导航图片改变效果
- 大家看看这个是什么编码方式?怎么解码呢?
- 求:表单通用验证 思路 或者说算法
- 正则匹配求解?
- 图片Button的问题:我想设置Button的样式为图片,且要求Button的大小一定等于图片的高度和宽度,如何做?
- IE10以下,JS加载XML文件返回403,(无法获取XML里面的东西)其他浏览器返回200,
- 请教一个有关Zebra_Dialog加载页面表单问题
- webpack 怎么配置 公共的header.html 和 footer.html
- 后台:nodejs 前台:vue 全栈开发 外卖平台系统
- 我是JavaScript的初学者,有几个问题!
- 非常着急,如何通过javascript得到url地址
function hidetoc()
{
strColumns_Current = top.mainframeset.cols
top.mainframeset.cols = "1,*";
top.contentbar.document.all("showtoc").style.display = "block";
}function showtoc()
{
top.mainframeset.cols = strColumns_Current;
top.contentbar.document.all("showtoc").style.display = "none";
}
并定位到右边窗口的某一行
=============================
parent.frames["right"].document.body.scrollTop=100oruse
parent.frames["right"].location.href="**.asp#a"
<a name=a>test</a>