Simple Text Rotation Plugin - billboard

Simple Text Rotation Plugin - billboard
File Size: 37.8KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

billboard is a jQuery plugin that allows you to rotate texts with fade in and out effect within any element of your page. 

Features:

  • Simple and easy-to-use
  • Text rotation pauses on hover
  • Rotate text on an interval, or on click

How to use it:

1. Markup

<span>jQueryScript.Net.</span>

2. Include jQuery library and billboard.js

<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> 
<script src="billboard-0.1.1.js"></script>

3. Call the plugin

<script>
$(function(){
$('span').billboard({messages : [
'Experience is simply the name we give our mistakes.',
'Always forgive your enemies - nothing annoys them so much.',
'True friends stab you in the front.', 
'Women are made to be loved, not understood.',
'We are all in the gutter, but some of us are looking at the stars.',
'A gentleman is one who never hurts anyone\'s feelings unintentionally.', 
'There is only one thing in life worse than being talked about, and that is not being talked about.',
'Most people are other people. Their thoughts are someone else\'s opinions, their lives a mimicry, their passions a quotation.',
'A little sincerity is a dangerous thing, and a great deal of it is absolutely fatal.', 
'There is only one thing in life worse than being talked about, and that is not being talked about.'
]});
});
</script>

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