AutoCAD 3DMAX C语言 Pro/E UG JAVA编程 PHP编程 Maya动画 Matlab应用 Android
Photoshop Word Excel flash VB编程 VC编程 Coreldraw SolidWorks A Designer Unity3D
 首页 > JavaScript

新闻上下滚动jquery 超简洁(必看篇)

51自学网 http://www.wanshiok.com
jquery,上下滚动

实例如下:

<div class = "box">	<dl class="textlist">		<dd>11你好,欢迎来到wanshiok.com</dd>		<dd>22你好,欢迎来到wanshiok.com</dd>		<dd>33你好,欢迎来到wanshiok.com</dd>		<dd>44你好,欢迎来到wanshiok.com</dd>		<dd>55你好,欢迎来到wanshiok.com</dd>	</dl></div><script>		$(function(){			function GoUp(){				$(".textlist").animate({top,-30},500,function(){					$(".textlist").css({top,0});					$(".textlist dd:first").insertAfter(".textlist dd:last")				});			}			setInterval(GoUp,1000)				})	</script></body>

以上这篇新闻上下滚动jquery 超简洁(必看篇)就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持wanshiok.com。


jquery,上下滚动  
上一篇:遍历json获得数据的几种方法小结  下一篇:vue2.0父子组件及非父子组件之间的通信方法