Skip to content

nolawi/newsfader

Repository files navigation

News Fader

Fading ticker

Getting Started

Download the production version or the development version.

Add the newsfader.min.js to your html

To intiate plugin

<script src="jquery.js"></script>
<script src="dist/newsfader.min.js"></script>
<script>
  // default options are 
  $(".js-newsticker").newsfader();

</script>

Documentation

If you need to change the default options

which are fadeInTime: 800, fadeOutTime: 800, interval: 5600

$(".js-newsticker").newsfader({fadeInTime: 100, fadeOutTime:100});

Examples

https://github.com/nolawi/newsfader/blob/master/test/newsfader.html

Release History

https://github.com/nolawi/newsfader/releases