根据内容自动高速页面中帧的高度
来源:互联网 发布:汉诺塔递归算法代码 编辑:程序博客网 时间:2024/05/17 02:14
iframe:
<iframe id="oIfrm" src="open.htm" onload="_resize()" width="320"></iframe>
function _resize(){
var o=document.frames("oIfrm").document.body;
document.all.oIfrm.style.pixelHeight= o.scrollHeight + 20;
}
-------------------------------------------------------------------------------------------------------------------------
frame:
<script language=javascript>
function _resize(){
oFrm.rows=document.frames("top").document.body.scrollHeight + ",*";
alert(document.frames("top").document.body.scrollHeight);
}
</script>
</head>
<frameset cols=100,*>
<frame src=about:blank>
<frameset id="oFrm" rows="100,*">
<frame name=top id=top src=frame1.asp onload="_resize()">
<frame name=main src=frame2.htm>
</frameset>
<frame src=frame1.asp>
</frameset>
- 根据内容自动高速页面中帧的高度
- iframe 的高度根据内容自动调整
- 根据内容自动调整高度的cell
- 根据内容自动调节cell的高度
- UITableViewCell根据内容自动高度
- UITableViewCell根据内容自动高度
- iOS7中UILabel根据内容自动调整高度
- jquery mobaile中textarea根据内容自动调整高度
- iframe 自适应高度,更改内容时iframe高度怎么根据新的内容高度自动改变
- jq_jquer获取iframe的高度根据页面内容自适应
- div根据内容自动调节高度的解决方法
- 设置DIV根据内容自动调整高度的三个方法
- div根据内容自动调节高度的解决方法
- UIWebView根据加载的内容自动适应高度
- 根据内容自动调整IFrame高度
- 根据内容自动调整iframe框架高度
- 让UIWebView根据内容自动调整高度
- 让iframe根据内容自动调整高度~~~
- 常用链接
- DC
- XSLT中截取等长字符串
- WEBLOGIC811下的MYSQL连接池配置及测试
- 公司如何壮大?
- 根据内容自动高速页面中帧的高度
- Soople:Google的"孪生兄弟"
- 三维圆环计算公式
- FAQ:扩展CHtmlView
- 随机性及数学证明
- 中秋节快乐:)
- 用java读取各种计算机文件系统的文件列表
- 随机性问题资料
- ado如何连接广域网上的Sql server 数据库 ,请各位大虾指教,很急啊,头都大了