nolawi / newsfader

News Fader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

News Fader

License:MIT License


Languages

Language:JavaScript 88.8%Language:CSS 8.8%Language:HTML 2.4%