编程语言
首页 > 编程语言> > 解决javascript 公告文字走马灯式轮播

解决javascript 公告文字走马灯式轮播

作者:互联网

jQuery Marquee,地址http://plugins.jquery.com/marquee/

<div class='marquee'>
	注意:请下载与您的******手机应用!
</div>
<script>
	$('.marquee').marquee({
	    //speed
	    duration: 5800,
	    //gap in pixels between the tickers
	    gap: 100,
	    //time in milliseconds before the marquee will start animating
	    delayBeforeStart: 0,
	    //'left' or 'right'
	    direction: 'left',
	    //true or false - should the marquee be duplicated to show an effect of continues flow
	    duplicated: false
	});
</script>

 

标签:jQuery,false,轮播,marquee,javascript,gap,走马灯,left,duplicated
来源: https://blog.csdn.net/qq_40642021/article/details/86075708