<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="../../../style/main.css" rel="stylesheet" type="text/css" />
<link href="../../../style/frame.css" rel="stylesheet" type="text/css" />
<script>
function switchSysBar(){
var locate=location.href.replace('main.html','');
var ssrc=document.getElementById("flexible").className;
if (ssrc=="flexible_2")
{
document.getElementById("flexible").className="flexible_1";
window.parent.con_frame.cols = "0,8,*";
}
else
{
document.getElementById("flexible").className="flexible_2";
window.parent.con_frame.cols = "160,8,*";
}
window.parent.con_frame.rows = window.parent.con_frame.rows;
}
</script>
</head>
<body>
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="8" valign="middle" class="frame_tab" onclick=switchSysBar()>
<span class="navPoint" ><div id="flexible" class="flexible_2"></div></span>
<!--<span class="navPoint" ><img src="../../images/jt_2.png" name="img1" id="img1" ></span>-->
</td>
</tr>
</table>
</body>
</html>
只要在加上代码:window.parent.con_frame.rows = window.parent.con_frame.rows;
分享到:
相关推荐
主页用 frameset 嵌了两个页面,左侧为菜单栏,可以通过改变 frameset 的 cols 来收缩。别的浏览器正常,但 IE10 却没任何的反应。 代码如下:function hide_show(){if(window.parent.outer_frame.cols==”0,10,*”){...
frameset元素属性
纵向排列多个窗口: <frameset cols=30%,20%,50%> <frame src="frame/A.html"> <frame src="frame/B.html"> <frame src="frame/C.html"> </frameset>
frameset标签定义框架集,它用于组织多个窗口(框架)。每个框架存在一个独立的文档。在最简单的应用中,frameset 元素...但在 HTML5中frameset标签没有得到支持,本文将跟大家分享HTML5不支持frameset的两种解决方法。
frameset的应用:编写了几个jsp页面 1.<frameset>:定义一个框架集,它被用来组织多个窗口。每个窗口都是一个独立的html界面。 2.<frameset>有两个参数,cols和rows。cols:列的数目和尺寸。rows:行的...
简单说明frame 及frameset标签中的各个属性,以及各个属性的作用。
您必须使用 cols 或 rows 属性。[1] 类别 HTML之中的元素之一。 作用 其作用是指定一个框架集,用于组织多个框架和嵌套框架集。 FRAMESET 元素是 FRAME 元素的容器。HTML 文档可包含 FRAMESET 元素或 BODY 元素之一...
主要介绍了html页面嵌套使用示例(frameset使用方法),需要的朋友可以参考下
Frameset_详解;Frameset html;Frameset;Frameset_详解;Frameset html;Frameset;Frameset_详解;Frameset html;Frameset
frameset 框架frameset 框架frameset 框架
测试IE6/火狐/google浏览器通过 注意:一定要按顺序摆放属性。否则会出现意外情况!
解决thickbox在frameset框架下只能遮罩子页面的问题。 asp.net项目 直接浏览index.html 最后在父页面和遮罩层里的文本框中输入值后点登录可以得到这几个文本框的值。 将thickbox.js里的tb_init(domChunk)函数替换为...
页面布局frameset frame
网页跨frameSet框架菜单,解决框架不能使用下拉菜单问题
frameset遮罩
<frameset></frameset>...frameset cols=”25%,50%,25%”> <frame src=”aaa.html”> <frame src=”aaa.html”> <frame src=”aaa.html”> </frameset> </html>
实现了div 在框架任意位置移动的,。。。。。。。。。。。。。。。。。。。
frameset cols=”*,1280,*” frameborder=”0″ framespacing=”0″> <frame name=”left” src=”_left.htm” noresize scrolling=”no”> <frameset rows=”110,*” frameborder=”0″> <noframes>...