jquery文字上下滚动的实现方法
2013-03-22 00:00
1041 查看
//上下滚动 var textRoll=function(){ $('#notice p:last').css({'height':'0px','opacity': '0'}).insertBefore('#notice p:first').animate({'height':'35px','opacity': '1'}, 'slow', function() { $(this).removeAttr('style');}); } $(function(){ //触发上下文字滚动事件 var roll=setInterval('textRoll()',4000); $("#notice p").hover(function() { clearInterval(roll); }, function() { roll = setInterval('textRoll()', 4000) }); });
相关文章推荐
- jquery文字上下滚动的实现方法
- jquery文字上下滚动的实现方法
- 如何使用jquery实现文字上下滚动效果
- 利用jquery实现文字上下滚动
- jquery实现文字上下滚动效果
- jquery实现文字上下循环滚动效果
- JQuery实现文字滚动效果-最简单的方法
- jquery实现文字的上下滚动效果
- jquery实现文字由下到上循环滚动的实例代码
- angularjs实现文字上下无缝滚动特效代码
- [转]用 jQuery 实现页面滚动(Scroll)效果的完美方法
- jQuery插件实现文字无缝向上滚动效果代码
- jQuery实现鼠标选文字发新浪微博的方法
- 用JavaScript实现上下文字滚动特效
- jquery轻松实现li标签上下滚动的原理
- jQuery实现滚动鼠标放大缩小图片的方法(附demo源码下载)
- jQuery实现上下无缝滚动代码实例 推荐
- jquery单行文字向上滚动效果的实现代码
- jQuery实现公告文字左右滚动的代码。
- 使用jQuery实现简单上下无缝滚动