7,765
社区成员
发帖
与我相关
我的任务
分享
<div id="tree_div" style="width: 209px; height: 405px; display: block; position: absolute;
left: 746px; top: 121px; background-color: #ffffff; filter: alpha(opacity=90)">
<iframe id="tree_iframe" frameborder="0" width="209px" height="400px" scrolling="no">
</iframe>
</div>
<script type="text/javascript">
function getWindowWidth2()
{
if (window.self && self.innerWidth)
{
return self.innerWidth;
}
if (document.documentElement && document.documentElement.clientWidth)
{
return document.documentElement.clientWidth;
}
return document.body.clientWidth;
};
function getWindowHeight2()
{
if (window.self && self.innerHeight)
{
return self.innerHeight;
}
if (document.documentElement && document.documentElement.clientHeight)
{
return document.documentElement.clientHeight;
}
return document.body.clientHeight;
};
function wndResize()
{
var cw=getWindowWidth2()-15;
var ch=getWindowHeight2()-130;
maplet.resize(cw,ch);
}
</script>