jquaery fade div in code example
Example 1: jquery on click fade out element
$(document).ready(function(){
$("button").click(function(){
$("p").fadeOut();
});
});
Example 2: jquery fadein display new page
$(document).ready(function(){
/*! Fades in page on load */
$('body').css('display', 'none');
$('body').fadeIn(500);
});