jQuery实现代码如下:
复制代码 代码如下:
<script type="text/javascript">
$(function(){
$("#newly").hover(function(){
clearInterval(scrtime);
},function(){
scrtime=setInterval(function(){
$ul=$("#newly ul");
liheight=$ul.find("li:first").height();
$ul.animate({marginTop:"-10px"},1000,function(){
$ul.find("li:first").appendTo("#newly ul");
$ul.find("li:first").hide();
$ul.css("margin-top","0px");
$ul.find("li:first").show();
});
},4200);
}).trigger("mouseleave");
});
</script>
最后
以上就是危机悟空最近收集整理的关于JQuery文字列表向上滚动的代码的全部内容,更多相关JQuery文字列表向上滚动内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复