shinyjs

Fast way to make elements fade onload.


Keywords
fade, jquery, onload
License
MIT
Install
bower install shinyjs

Documentation

jQuery Shiny

Fast way to make elements fade onload.

Usage

Just include jquery.shiny.js after jQuery. Requires jQuery 1.4+.

It is also available via bower.

$ bower install --save shinyjs

Demo

See the demo [here] (http://codepen.io/marcuscaum/debug/ayuvw)

HTML

<script src='jquery.js'></script>
<script src='jquery.shiny.min.js'></script>

Javascript

$('.foo').shiny();

To make the script run when the page load, you need to put the "shiny" inside a load or read function, like this:

$(document).ready(function(){
	$('.foo').shiny();
})

Feedback

If this plugin was usefull to you, please send me a tweet (@marcuscaum)! We are open to receive any ideas to make this plugin better every day.