<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>
解决方案 »
- html一个简单的问题
- [javascript]能否改变事件的触发顺序以及获取上个事件的返回值
- 验证是否是数字的小问题...
- 如何实现DataList控件中图片不动,而相对应的图片闻标题滚动?
- javascript读取txt文件一行一行的读到末尾
- ASP数据连接问题~~留言板~~
- 浮动效果firefox下失效了
- 用javascript 取得form 文本框的值
- 高分求教
- 如何将一个字符串变量的值赋值给另外一个字符串变量?
- 关于嵌入式页面的互相访问,求教
- 请看看这个网站的脚本编程吧,知道我们在做什么吗?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>