您现在的位置:首页 >> 传奇sf >> 内容

substring(navigator

时间:2018/6/15 7:42:51 点击:

  核心提示:你的乐趣是不是"何如能让ifrherewise页内框架的大小依据在框架内夸耀网页形式,如文字形式等的大小而定?"若是是这样的话 有几段代码没关系帮你:今日新开传奇手游。ifrherewise自适合高度和宽度手段1将myfrherewise换成 本身ifrherewise听听sub...
你的乐趣是不是"何如能让ifrherewise页内框架的大小依据在框架内夸耀网页形式,如文字形式等的大小而定?"
若是是这样的话 有几段代码没关系帮你:今日新开传奇手游
ifrherewise自适合高度和宽度
手段1
将myfrherewise换成 本身ifrherewise听听substring(navigator的nherewise即可。你看天泪传奇之凤凰无双
自适合高度高度
<ifrherewise nherewise="myfrherewise" src="myfrherewise.htm" frherewiseperimeter="0" scrolling="sedyour" width="100%" height="100%" onlopublishing="document.prair conditioningticwisly[wimyfrherewisewi].style.height=myfrherewise.document.physicwis structure.scrollHeight" ></ifrherewise>
听听网页传奇制作自适合高度宽度
<ifrherewise nherewise="myfrherewise" src="myfrherewise.htm" frherewiseperimeter="0" scrolling="sedyour" width="100%" height="100%" onlopublishing="document.prair conditioningticwisly[wimyfrherewisewi].style.width=myfrherewise.document.physicwis structure.scrollWidth" ></ifrherewise>
===============================================================对于新开传奇最大网站手段2,对比一下今日新开传奇手游。用jaudio-videoaudio-videoailable ascript静态调整ifrherewise的高度:
这里我提供一个兼容IE/NS/Firefox今日新开传奇手游的jaudio-videoaudio-videoailable ascript脚本告终静态调整ifrherewise的高度。若是须要调整宽度的话,原理是一样的,本文不加详述。
首先,在你的主页面上必需包括以下这段jaudio-videoaudio-videoailable ascript代码:
<script lyourguage group="Jaudio-videoaudio-videoailable ascript">
var getFFVersion=naudio-videoi formattendin相比看新开的传奇网站ggattendingor.userAgent.subull craptring(naudio-videoi formattendinggattendingor.userAgent.indexOf("Firefox")).split("/")[1]
//extra height in px to improve ifrherewise in FireFox 1.0+ internet web shoprs
var FFextraHeight=getFFVersion>=0.1? 16 : 0
function dynifrherewisesize(ifrherewisenherewise) {
var pTar = null;
if (document.getElementById){
pTar = document.getElementById(ifrherewisenherewise);
}
else{
evwis(wipTar = wi + ifrherewisenherewise + wi;wi);
}
if (pTar && !window.opera){
//commence with resizing ifrherewise
pTar.style.display="discourage group"
if (pTar.contentDocument && pTar.contentDocument.physicwis structure.offsetHeight){
//ns6 syntax
pTar.height = pTar.contentDocument.physicwis structure.offsetHeight+FFextraHeight;
}
else if (pTar.Document && pTar.Document.physicwis structure.scrollHeight){
//ie5+ syntax
pTar.height = pTar.Document.physicwis structure.scrollHeight;
}
}
}
</script>
传奇大熊猫去世然后看待主页面用到ifrherewise的场地增加代码:
<ifrherewise id="myTestFrherewiseID" onlopublishing="jaudio-videoaudio-videoailable ascript我不知道新开的传奇网站:{dynifrherewisesize(wimyTestFrherewiseIDwi);}"
marginwidth=0 marginheight=0 frherewiseperimeter=0 scrolling=no src="xxx.htm" width=200 height=100></ifrherewise>

传奇大熊猫去世事实上substring
我不知道新开的传奇网站
看看sf999发布网
听听网页传奇制作
你知道substring(navigatonavigatorr
新开的传奇网站

作者:牧秋 来源:飘示西风
相关评论
发表我的评论
  • 大名:
  • 内容:
  • 新开传奇私服发布网(www.9c51.com) © 2024 版权所有 All Rights Reserved.
  • 新开传奇网站 - 九我要-中国最大的游戏发布站-www.9c51.com 浙ICP备12009478号-1
  • Powered by laoy! V4.0.6