<div class="codetitle"> <span><a style="CURSOR: pointer" data="14165" class="copybut" id="copybut14165" onclick="doCopy('code14165')"><u>复代码码</u></a></span> 代码如下:</div> <div class="codebody" id="code14165"> <br><iframe id="aaax" src="" scrolling=" no"frameborder="0" style="display:none"></iframe> <br><br><script 언어="javascript" type="text/javascript"> <br>$(function () { <br>var $main = $("#main").height(); <br>var $searchPanel = $("#searchPanel").height(); <br> var $listArea = $("#listArea").height(); <br>$("#aaax").height($(window).height() - $main - $searchPanel - $listArea 180) <br>var $aaax = $("#aaax").height(); <br><br>if ($aaax < 282) { $("#aaax").height(300) } <BR> else { $("#aaax").height($(window).height() - $main - $searchPanel - $listArea 180) } <br><br>var $chartArea = $("#chartArea") .width(); <BR>var $chartAreaLeft = $(".chartAreaLeft").width(); <BR>$("#aaax").width($chartArea - $chartAreaLeft - 10); $aaaxWidth = $("#aaax").width(); <BR><br>if ($aaaxWidth < 597) { $("#aaax").width(500) } <br>else { $ ("#aaax").width($chartArea - $chartAreaLeft - 10) } <BR>}); <BR></script> <br><br> </div>