<ul id="ticker1"> <li>1 - First item - Lorem Ipsum is simply dummy text of the printing and typesetting</li> <li>2 - Second item - Lorem Ipsum is simply dummy text of the printing and typesetting</li> <li><a href="">3 - Third item - Lorem Ipsum is simply dummy text of the printing and typesetting</a></li> <li><a href="">4 - Fourth item - Lorem Ipsum is simply dummy text of the printing and typesetting</a></li> </ul>
$("#ticker1").ticker();
$("#ticker2").ticker({ effect: "slideUp"});
$("#ticker3").ticker({ effect: "slideDown"});
$.fn.ticker.defaults = { controls: false, //show controls, to be implemented interval: 3000, //interval to show next item effect: "fadeIn", // available effects: fadeIn, slideUp, slideDown duration: 400 //duration of the change to the next item };