• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

aamirafridi/jQuery.Marquee: jQuery plugin to scroll the text like the old tradit ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

aamirafridi/jQuery.Marquee

开源软件地址:

https://github.com/aamirafridi/jQuery.Marquee

开源编程语言:

JavaScript 100.0%

开源软件介绍:

jQuery-Marquee with CSS3 Support Known Vulnerabilities


A ~8 KB (minified) jQuery plugin to scroll the text like the old traditional marquee.

Install:

<script src="//cdn.jsdelivr.net/npm/[email protected]/jquery.marquee.min.js" type="text
/javascript"></script>
  • Bower: bower install jQuery.Marquee
  • Download: zip

Links:

Options:

  • allowCss3Support Force the usage of jQuery's animate method even if the target browser supports CSS3 animations. Default: true
  • css3easing Works when allowCss3Support is set to true. See here for full list. Default: 'linear'
  • easing Requires the jQuery easing plugin. Default: 'linear'
  • delayBeforeStart Time in milliseconds before the marquee starts animating. Default: 1000
  • direction Direction towards which the marquee will animate 'left' / 'right' / 'up' / 'down'. Default: 'left'. Todo: need to change this to ltr/rtl etc
  • duplicated Should the marquee be duplicated to show an effect of continuous flow. Use this only when the text is shorter than the container. Default: false
  • duration Duration in milliseconds in which you want your element to travel. Default: 5000.
  • speed Speed will override duration. Speed allows you to set a relatively constant marquee speed regardless of the width of the containing element. Speed is measured in pixels per second.
  • gap Gap in pixels between the tickers. Will work only when the duplicated option is set to true. Default: 20. Note: 20 means 20px so no need to use '20px' as the value.
  • pauseOnHover Pause the marquee on hover. If the browser supports CSS3 and allowCss3Support is set to true this will be done using CSS3. Otherwise this will be done using the jQuery Pause plugin. Default: false. See demo page for example.
  • pauseOnCycle On cycle, pause the marquee for delayBeforeStart milliseconds.
  • startVisible The marquee will be visible from the start if set to true. Thanks to @nuke-ellington

鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap