<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head>
<card title="jQuery滚动条定位跳转插件（jquery.scrollto.js）" id="card1">
<p> 游客</p><p>
标题:jQuery滚动条定位跳转插件（jquery.scrollto.js）<br/>
正文:<br/>
使用方法：$(&amp;quot;被点击元素选择器&amp;quot;).scrollTo(&amp;quot;目标&amp;quot;，&amp;quot;speed&amp;quot;，&amp;quot;setting&amp;quot; )；$.scrollTo(&amp;quot;目标&amp;quot;，&amp;quot;speed&amp;quot;，&amp;quot;setting&amp;quot; );//网页初始化后立刻滚动目标选择器可以使选择器，&amp;quot;top&amp;quot;， &amp;quot;bottom&amp;quot;速度初始为800设定 axis: 可选设定'xy'：横向纵向都滚动。'x'：横向滚动'y'：纵向滚动easing：滚动效果（jQuery内置效果），默认滑动    function goto(id) {        $(&quot;#&quot; + id).ScrollTo(800);    }我跳&amp;darr;换行键BR，撑出滚动条来我再跳&amp;uarr;jquery.scrollto.js 内容如下：jQuery.getPos = function (e){    var l = 0;    var t  = 0;    var w = jQuery.intval(jQuery.css(e,'width'));    var h = jQuery.intval(jQuery.css(e,'height'));    var wb = e.offsetWidth;    var hb = e.offsetHeight;    while (e.offsetParent){        l += e.offsetLeft + (e.currentStyle?jQuery.intval(e.currentStyle.borderLeftWidth):0);        t += e.offsetTop  + (e.currentStyle?jQuery.intval(e.currentStyle.borderTopWidth):0);        e = e.offsetParent;    }    l += e.offsetLeft + (e.currentStyle?jQuery.intval(e.currentStyle.borderLeftWidth):0);    t  += e.offsetTop  + (e.currentStyle?jQu<br/><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=624&amp;Page=1">[&lt;&lt;]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=624&amp;Page=1">[[1]]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=624&amp;Page=2">[2]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=624&amp;Page=3">[3]</a><a href="http://camnpr.com/wap.asp?mode=WAP&amp;act=View&amp;id=624&amp;Page=6">[&gt;&gt;]</a><br/>
<br/>
<a href="wap.asp?act=Com&amp;id=624">查看评论(0)</a><br/>
<a href="wap.asp?act=AddCom&amp;inpId=624">发表评论</a><br/><br/>

<br/>

<br/>
<a href="http://camnpr.com/wap.asp">首页</a>
</p>
</card>
</wml>