
marquee.js is a lightweight JavaScript library which allows to scroll horizontally and infinitely through html elements like the traditional marquee element.
Basic usage:
Place the marquee.js JavaScript files into your document.
<script src="marquee.js"></script>
Create a new marquee instance and done.
new Marquee('SELECTOR');Customize the scrolling behavior.
new Marquee('SELECTOR', {
// once or continuous
continuous: true,
// 'rtl' or 'ltr'
direction: 'rtl',
// pause between loops
delayAfter: 1000,
// when to start
delayBefore: 0,
// scroll speed
speed: 0.5,
// loops
loops: -1
});Changelog:
08/02/2019
- Removed unused codes






