<div class="codetitle"> <span><a style="CURSOR: pointer" data="29117" class="copybut" id="copybut29117" onclick="doCopy('code29117')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code29117"> <br><div id="Scroll" style="background-color: Green; width: 2000px; height:2000px;"> <br>请写很多数据…… <br> </div> <br><div id="lookMore">more...</div> <br><script src="jquery-1.7b1.js" type="text/javascript"></script> <br><script type="text/javascript">//需要引用jquery <BR>$(window).scroll(function () { <BR>if ($(window).scrollTop() + $(window).height() > $("#lookMore").offset().top) <BR>$("#Scroll").append("<div>more!!!</script> </div>");//替换为异步加载 <br>}); <br> <br>