<div class="codetitle"> <span><a style="CURSOR: pointer" data="60735" class="copybut" id="copybut60735" onclick="doCopy('code60735')"><u>复代码</u></a></span> 代码如下:</div> <div class="codebody" id="code60735"> <br><script type="text/javascript"> <br>함수 tt1(){ <br>alert('tt1') ; <br>} <br>function tt2(){ <br>alert('tt2') ; <br>} <br>function tt3(){ <br>alert('tt3') ; <br>} <br>function addLoadEvent(func) { <br>var oldonload = window.onload; <br>if (typeof window.onload != 'function') { <br>window.onload = func; <br>} else { <br>window.onload = function() { <br>oldonload(); <br>펑크(); <br>} <br>} <br>} <br>addLoadEvent(tt1()) ; <br>addLoadEvent(tt2()) ; <br>addLoadEvent(tt3()) ; <br></script> <br> </div>