<div class="codetitle"> <span><a style="CURSOR: pointer" data="98301" class="copybut" id="copybut98301" onclick="doCopy('code98301')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code98301"> <br>$("html").scrollTop(4000) <br> </div> <br>这里的4000设成比body高度要大的值,这个方法还是比较准确的 <br><div class="codetitle"> <span><a style="CURSOR: pointer" data="90015" class="copybut" id="copybut90015" onclick="doCopy('code90015')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code90015"> <br>scrollTo (0,document.height ||document.body.style.height) <br> </div>