专注小程序开发_仿京东快报向上滚动的实例

仿京东快报向上滚动的实例     ~年   下面小编就为大家分享一篇仿京东快报向上滚动的实例,具有很好的参考价值,希望对大家有所帮助。一起跟随小编过来看看吧
script src="jquery-1.11.0.min.js" /script div id="broadcast" name="giftactive" div strong 间隔滚动效果: /strong /div div id="demo" ul id="holder" li a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" aaaaaa /a /li li a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" bbbbbb /a /li li a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" /a /li li a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" dddddd /a /li li a href="#" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" target="_blank" eeeeee /a /li /ul /div /div script type="text/javascript" function AutoScroll(obj) { $(obj).find("ul:first").animate({ marginTop: "-22px" }, 500, function() { $(this).css({ marginTop: "0px" }).find("li:first").appendTo(this); $(document).ready(function() { setInterval('AutoScroll("#demo")', 1000) /script /body /html

以上这篇仿京东快报向上滚动的实例就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持凡科。




扫描二维码分享到微信