新闻播报是一个强大的jQuery先进、灵活和动画垂直滚动新闻插件。它提供了多个回调函数和方法允许最大的灵活性和一个简单的实现到任何项目。有多种效果,具体可以看演示多行播报var nt_example1 = $('#nt-example1').newsTicker({ row_height: 80, max_rows: 3, duration: 4000, prevButton: $('#nt-example1-prev'), nextButton: $('#nt-example1-next')});一行标题带详细的var nt_example2 = $('#nt-example2').newsTicker({ row_height: 60, max_rows: 1, speed: 300, duration: 6000, prevButton: $('#nt-example2-prev'), nextButton: $('#nt-example2-next'), hasMoved: function() { $('#nt-example2-infos-container').fadeOut(200, function(){ $('#nt-example2-infos .infos-hour').text($('#nt-example2 li:first span').text()); $('#nt-example2-infos .infos-text').text($('#nt-example2 li:first').data('infos')); $(this).fadeIn(400); }); }, pause: function() { $('#nt-example2 li i').removeClass('fa-play').addClass('fa-pause'); }, unpause: function() { $('#nt-example2 li i').removeClass('fa-pause').addClass('fa-play'); }});$('#nt-example2-infos').hover(function() { nt_example2.newsTicker('pause');}, function() { nt_example2.newsTicker('unpause');});
文件目录······
暂无数据
猜你喜欢
更多»
项目推荐
更多»
PDF电子书
更多»
Java多线程编程核心技术
(2)
Linux命令详解词典.pdf
(5)
深入Python3中文版
(0)
百度SEO一本通.pdf
(0)
mysql必知必会.pdf
(2)
疯狂JAVA讲义 pdf电子书
(3)
C# 图解教程pdf电子书
(3)
研磨设计模式 pdf电子书
(0)