<div class="codetitle"> <span><a style="CURSOR: pointer" data="16830" class="copybut" id="copybut16830" onclick="doCopy('code16830')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code16830"> <br><iframe src="main_folder.aspx" class="gloroll_f" auto frameborder="0" name="main"></iframe> <br> </div> <br><div class="codetitle"> <span><a style="CURSOR: pointer" data="8544" class="copybut" id="copybut8544" onclick="doCopy('code8544')"><u>複製代碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code8544"> <br>/*自動寬度*/ <br>global.autoWidth = function () { <br>//global_main <br>$(".global_main").height($ (window).height() - $(".global_header").eq(0).outerHeight()); <br>$('.global_main').width($(window).width() - $( '.global_slide').eq(0).outerWidth()).show(); <br>}; <br> </div>