<script type="text/javascript">
if (typeof window.onload!='function')
{
window.οnlοad=function()
{
SetIframeWidthHight();
}
}
else
{
var oldοnlοad=window.onload;
window.οnlοad=function()
{
oldonload();
SetIframeWidthHight();
}
}
function SetIframeWidthHight()
{
if(WelcomeForeignGuestMain.document.body.scrollHeight<560)
{
document.getElementById("WelcomeForeignGuestMain").height=560;
}
else
{
document.getElementById("WelcomeForeignGuestMain").height=WelcomeForeignGuestMain.document.body.scrollHeight;
}
if(WelcomeForeignGuestMain.document.body.scrollWidth<800)
{
document.getElementById("WelcomeForeignGuestMain").width=800;
}
else
{
document.getElementById("WelcomeForeignGuestMain").width=WelcomeForeignGuestMain.document.body.scrollWidth;
}
if(document.getElementById("ctl02").style.width>120)
{
document.getElementById("ctl02").style.width=120;
}
}
</script>
<table border="0" cellpadding="0" cellspacing="0" style="height: 100%; width: 100%">
<tr>
<td align="left" valign="top">
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
</td>
<td style="width:8px;"></td>
<td valign="top">
<iframe id="WelcomeForeignGuestMain" name="WelcomeForeignGuestMain" frameborder="0" scrolling="no"></iframe></td>
</tr>
</table>
Iframe
最新推荐文章于 2022-12-07 15:26:00 发布