[javascript]
function SetIFrameHeight(down) {
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([d.]+)/)) ? Sys.ie = s[1] :
(s = ua.match(/firefox/([d.]+)/)) ? Sys.firefox = s[1] :
(s = ua.match(/chrome/([d.]+)/)) ? ) .([d.]+)/)) ? Sys.opera = s[1] :
(s = ua.match(/version/([d.]+).*safari/)) ?
var pTar = null;
if (document.getElementById) {
pTar = document.getElementById(down);
} else {
eval('pTar=' + down + ';');
}
pTar.style.display = "block";
if (Sys.ie) {
if (Sys.ie == '9.0') { ent.body.offsetHeight + 15 + "px";
pTar.width = pTar.contentWindow.document.body.scrollWidth + "px";
} else if (Sys.ie == '8.0') {
pTar.height = pTar.Document.body.offsetHeight + 15 + "px";
pTar.width = pTar.Document.body.scrollWidth + "px";
} else {
pTar.heightment.body.scroll +.body.body.scroll +”
pTar.width = pTar.Document.body.scrollWidth + "px";
}
}
.body.offsetHeight + 15 + "px";
pTar.width = pTar.contentDocument.body.scrollWidth + "px";
}
if (Sys.chrome) {
pTar.width = pTar.contentDocument.body.scrollWidth;
}
if (Sys.opera) {
pTar.width = pTar.contentDocument.body.scrollWidth;
}
if (Sys.safari) {
pTar.height = pTar.contentDocument.body.offsetHe右+ 10;
高度= pTar.contentDocument.body.offsetHeight;
}
pTar.width = pTar.contentDocument.body.scrollWidth;
}
}
function SetIFrameHeight(down) {
var Sys = {};
var ua = navigator. (s = ua.match(/msie ([d.]+)/)) ? Sys.firefox = s[1] :
(s = ua.match(/chrome/([d.]+)/)) ? ) .([d.]+)/)) ? Sys.opera = s[1] :
(s = ua.match(/version/([d.]+).*safari/)) ? Sys.safari = s[1] : 0;
var pTar = null;
if (document。
} else {
eval('pTar ='+延續+ ' ;');
}
pTar.style.display = "block";
{
pTar.height = pT ar。 contentWindow.document.body .offsetHeight + 15 + "px";
pTar.width = pTar.contentWindow.document.body.scrollrroll; if (Sys.ie == '8.0') {
除錯製造器;
pTar.height = pTar.Document.body.offsetHeight + 15 + "px";🠜 cuo.Dp. idth + "px";
} else {
.body.sc滾動高度+ 25 + "px";
pTar.width = pTar.Document.body.scrollWid }
if (Sys.firefox) {
pTar.height = p Tar. contentDocument.body.offsetHeight + 15 + " px";
pTar.width = pTar.contentDocument.body.scrollWidth + "px"; {
pTar.height = pTar.contentDocu ment.body 。 contentDocument.body.scrollWidth;
}
if (Sys.opera) {
pTar.width = pTar.contentDocument.body.scrollWidth;
}
if (Sys.safari ) {
if (pTar.contentDocument.body.offsetHeight } else {
pTar.height = pTar.contentDocument.body。 ;
}
pTar.width = pTar.contentDocument.身體