<iframe id=demo src="about:<a href='about:<div style=height:1000>'>hehe</a>"></iframe>
<script>
setInterval("document.all.demo.height=demo.document.body.scrollHeight+20",10)
</script>
<script>
setInterval("document.all.demo.height=demo.document.body.scrollHeight+20",10)
</script>
解决方案 »
- 为什么图片在新浪微博里面不显示?
- 用ajax来请求页面,可以是其他站点的么?
- 一个字符串分割成二维数组问题
- 请问各位高手,在点击图片热点的时候怎么把title的值传递到表单上去?
- 关于选择框状态保持的问题
- js中有无查看字体颜色的脚本?
- JavaScript 闭包高级问题
- 100分求助,一个浮动导航栏
- 没学过,但想用,只好请大家了。(发错地方了只好再浪费分)
- easyui datagrid datebox 的输入问题
- 关于嵌入式页面的互相访问,求教
- 请看看这个网站的脚本编程吧,知道我们在做什么吗?http://application.wecoo.com/public/login/login.asp
<td bgcolor="#EBF4E1">
<iframe src="down/top.asp" width="100%" height="214" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="NO" id=iframe1>
</iframe>
</td>在 tt.htm 页面中:
<body>
<br>wwew<br><br>gd<br>dfg<br><br><br><br>g<br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</body>
<script language=javascript><!--
if (top.location !== self.location)
window.parent.document.all.iframe1.height=document.body.scrollHeight+20;
// --></script>
function window.onload()
{
window.resizeTo(document.body.scrollWidth+10,document.body.scrollHeight+10);
}
</script>