当前路径: 星河码客 » 插件特效 » JQuery先进的新闻播报

JQuery先进的新闻播报

新闻播报是一个强大的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');});

JQuery先进的新闻播报

在线演示        积分下载        6毛下载        砍两刀下载       

文件目录······
暂无数据
 猜你喜欢 更多»
 工具推荐 更多»