欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

[轉(zhuǎn)]目前找到的最好的Iframe自適應(yīng)高度代碼

 更新時(shí)間:2007年02月07日 00:00:00   作者:  
注:onload字段中的數(shù)值“200”為設(shè)置的Iframe最低高度值!

當(dāng)然iframe,html要在同一子域下才可以,否則警告沒有權(quán)限.

<iframe src="iframe.html" name="iframe" id="iframe" allowtransparency="true" align="default" marginwidth="0" marginheight="0" frameborder="0" scrolling="no" height="200" width="500" onload="this.height=0;var fdh=(this.Document?this.Document.body.scrollHeight:this.contentDocument.body.offsetHeight);this.height=(fdh>200?fdh:200)//code by Tencent.nokersang">This message is only visible to older browsers.</iframe> 

這個(gè)腳本測(cè)試可以支持IE5.5,IE6.0,FireFox1.x,Opera9.01

相關(guān)文章

最新評(píng)論