强烈推荐一款适配性好的响应式架构高宽比的脚
时间: 2021-02-09 06:04
浏览次数:
iframe src= .asp width= 100% height= 750 id= ifrmbase scrolling= no frameborder= 0 /iframe 在其中: ifrmbase 是架构的名字ID;在包括所述架构的网页页面里载入下列架构响应式高宽比的脚本制作:script type
iframe src= .asp width= 100% height= 750 id= ifrmbase scrolling= no frameborder= 0 /iframe
在其中: ifrmbase 是架构的名字ID;
在包括所述架构的网页页面里载入下列架构响应式高宽比的脚本制作:
script type= text/javascrip t
function reinitIframe(){
var iframe = document.getElementById( ifrmbase
try{
iframe.height = iframe.contentWindow.document.documentElement.scrollHeight;
}catch (ex){}
}
window.setInterval( reinitIframe() , 200);
/scrip t
检测根据:IE5,6,7,8,9 FireFox3.5 下均根据。
郑州市建网站 郑州市建设网站 郑州市网站制作 郑州市网站建设