首页 » ASP代码 » Jquery入门教程,平滑滚动条

Jquery入门教程,平滑滚动条

我也不太懂,所以试着一个从一个简单的例子去理解,把下面的代码放入你的网页,然后点这个链接,会平骨滚动到最顶端,Jquery里面的特效很多,比如拖曳用它实现很简单哦,有兴趣的慢慢去看

<a href="#" id="returnTop">返回顶部</a>
<script language="javascript" src="http://www.suntw.com/jquery.min.js"></script>
<script language="javascript">
$(function(){
 $('#returnTop').click(function(){
 $('html,body').animate( {scrollTop: '100px'}, 800 );
 return false; });})()
</script>

, ,

转发到新浪微博 转发到新浪微博

目前这篇文章有75条评论(Rss)

  1. Ziaksgkd | #1
    05/17/2012 at 09:24

    I support Manchester United http://faamiymog.de.tl under age lesbian porno multiple guys? yes ive dun that. wait … like two guys at a time? no ive neva dun that….lol how dumb can u be??

  2. Hgrzwqkj | #2
    05/17/2012 at 09:25

    I love the theatre http://nojypamida.de.tl under age sexy pics Ya she is pretty hot. She has a nice looking Pussy, just wish she would have done the anal plunge. I’ll help her.

  3. Boyuilnz | #3
    05/17/2012 at 09:26

    Withdraw cash http://nojypamida.de.tl innocent boys under age if ALL shemales looked like her i would seriously have to reconsider my sexuality. anyone know what her name is?

  4. Hcicsofp | #4
    05/17/2012 at 09:26

    I stay at home and look after the children http://urocecynunyp.de.tl empire girls toplist Ich hoffe ich werde niemals im leben so einen samenstau bekommen, dass ich sogar mit zwei solchen pfannen ficken muss *würg*

  5. Tlhhjsac | #5
    05/17/2012 at 09:27

    I’m on work experience http://luquromuo.de.tl adult teens toplist i want to get FUCKED and PLEASED like how that hot guy is pleasing that girl. I love me some white boiz. Especially white boiz with swag that also sags their pants, especially if they have that big, bubbly, fat, round booty that i can grab onto.

我要评论