<script>
//实现IFRAME动态增长
function autoResize()
{
try
{
document.all["WLT_SELCET"].style.height=WLT_SELCET.document.body.scrollHeight;
}
catch(e){}
}
</script>
<iframe name="WLT_SELCET" src="./common/blank.html" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" width=100% height="0" style="height:expression(1); aho:expression(autoResize())"> </iframe>
//实现IFRAME动态增长
function autoResize()
{
try
{
document.all["WLT_SELCET"].style.height=WLT_SELCET.document.body.scrollHeight;
}
catch(e){}
}
</script>
<iframe name="WLT_SELCET" src="./common/blank.html" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" width=100% height="0" style="height:expression(1); aho:expression(autoResize())"> </iframe>
解决方案 »
- 让文字不间断横向滚动(不使用marquee标签)
- 含血请高手解答,OWC中Spreadsheet的export方法的问题,我的分都问完了,没办法啊,5555555555555
- js 如何实现时间相减得到所需的小时差
- iframe自适应调整高度问题 在线等 急!
- JS抓取PC端当前登录的QQ号号码,【功能已实现,求高手速来分析原理】
- ie6/7/8 innerHTML 失效
- 这段代码很奇妙!!!!
- 求不被任何遮挡的下接菜单,用javascript实现的。好用再送100分!
- 怎么才能让Textarea中可以输入Tab符号
- 在image 对象里如何得到该图标文件的 字节流
- 如何判断客户是否支持脚本啊??
- javascript传多个变量到后台!!!!!!急...
如何得到iframe引入的DOCUMENT里面元素的值呀?
<script language=javascript>
test.Height=test.document.body.scrollHeight;
</script>
function myonload()
{
var height=document.body.scrollHeight;
document.all.test.height=document.body.scrollHeight;
height=document.body.scrollHeight-height;
document.all.test.height=(document.all.test.height - height) ;
}
</script>