有 cdn 可以用
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.
- //duration in milliseconds of the marquee
- duration: 15000,
- //gap in pixels between the tickers
- gap: 50,
- //time in milliseconds before the marquee will start animating
- delayBeforeStart: 0,
- //'left' or 'right'
- direction: 'left',
- //true or false - should the marquee be duplicated to show an effect of continues flow
- duplicated: true