不错呦!smile@林凯西,确保“准备文件”中的几个文件都有安装,S...您好,看了您这篇帖子觉得很有帮助。但是有个问题想请...我的修改过了怎么还被恶意注册呢 @jjjjiiii 用PJ快9年了,主要是A...PJ3啊,貌似很少有人用PJ了,现在不是WP就是z...@332347365,我当时接入时错误码没有-10...楼主,ChkValue值应为-103是什么意思呢?...大哥 你最近能看到我发的信息,请跟我联系,我有个制...
关于IFRAME 自适应高度的研究
编辑:admin 日期:2006-09-15
NO.1
NO.2
复制内容到剪贴板
程序代码

<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<body>
<IFRAME id="test" name="test" frameBorder=0 scrolling=no src="reg.asp" width="100%" height=0></IFRAME>
</body>
</html>
<SCRIPT FOR=window EVENT=onload LANGUAGE="Jscript">
document.all("test").height=test.document.body.scrollHeight;
</SCRIPT>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<body>
<IFRAME id="test" name="test" frameBorder=0 scrolling=no src="reg.asp" width="100%" height=0></IFRAME>
</body>
</html>
<SCRIPT FOR=window EVENT=onload LANGUAGE="Jscript">
document.all("test").height=test.document.body.scrollHeight;
</SCRIPT>
NO.2
复制内容到剪贴板
程序代码

<html>
<head>
<title> New Document </title>
<script language="Javascript" for="mainid" event="onload">
maimbox.height = main.document.body.scrollHeight + 10;
</script>
</head>
<body>
aaaaaaaaaaa<br>
<table border="0" width="770" cellspacing="0">
<tr>
<td colspan="2" id="maimbox" height="500">
<IFRAME src="home.htm" name="main" id="mainid" scrolling=no frameBorder=0 width="100%" height="100%" marginwidth="1" marginheight="0"></IFRAME>
</td>
</tr>
</table>
xxxxxxxxxxxxx
</body>
</html>
<head>
<title> New Document </title>
<script language="Javascript" for="mainid" event="onload">
maimbox.height = main.document.body.scrollHeight + 10;
</script>
</head>
<body>
aaaaaaaaaaa<br>
<table border="0" width="770" cellspacing="0">
<tr>
<td colspan="2" id="maimbox" height="500">
<IFRAME src="home.htm" name="main" id="mainid" scrolling=no frameBorder=0 width="100%" height="100%" marginwidth="1" marginheight="0"></IFRAME>
</td>
</tr>
</table>
xxxxxxxxxxxxx
</body>
</html>
评论: 1 | 引用: 0 | 查看次数: 4086
发表评论
请登录后再发表评论!