日期:2014-05-17  浏览次数:20635 次

框架问题!
我的框架分上下两部分,下部分里引入两个 <iframe> 我想根据iframe   的Height=100%
来自动拉伸高度,但不想在下部分的框架中出现滚动条,在浏览器页面出现滚动条!要怎么做?

------解决方案--------------------
<iframe name= "dw360cn " src= "http://www.csdn.net/ " frameborder=false scrolling= "auto " width= "100% " height= "100% " onload= "document.all[ 'dw360cn '].style.height=dw360cn.document.body.scrollHeight " > </iframe>