Lightweight jQuery Content Scroller Plugin - marquee.js

File Size: 111 KB
Views Total: 33735
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Lightweight jQuery Content Scroller Plugin - marquee.js

Marquee.js is a lightweight, cross-browser jQuery plugin that allows you to convert an Html list into a vertical & horizontal content scroller like the old traditional marquee element. Ideal for creating a news ticker widget on your web page.

See also:

Basic usage:

1. Create an unodrered list of content (e.g. text, links, images) for the scroller.

<ul id="demo">
  <li> <a href="">Breaking News 1</a>
    <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </p>
  <li> <a href="">Breaking News 2</a>
    <p>Aliquam consequat nibh in sollicitudin semper. Nam convallis sapien nisi, ac vulputate nisi auctor blandit. Donec tincidunt varius suscipit. </p>
  <li> <a href="">Breaking News 3</a>
    <p>Ut ut felis suscipit sem porta molestie. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae/p> 
  <li> <a href="" title="">Breaking News 4</a>
    <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In hac habitasse platea dictumst. </p>

2. Load jQuery library and the jQuery marquee.js script before the closing body tag.

<script src="//"></script>
<script src="js/jquery.marquee.js"></script>

3. Call the plugin on the content list to generate a vertical scroller.


4. Options and defaults.


// enable the plugin
enable : true,  //plug-in is enabled

// scroll direction
// 'vertical' or 'horizontal'
direction: 'vertical',

// children items
itemSelecter : 'li', 

// animation delay
delay: 3000,

// animation speed
speed: 1,

// animation timing
timing: 1,

// mouse hover to stop the scroller
mouse: true


This awesome jQuery plugin is developed by repar. For more Advanced Usages, please check the demo page or visit the official website.