I have a working jQuery page redirect. I want to fade into the page I am loading.
$(function(){
var count = 5;
countdown = setInterval(function(){
$("p#redirect").html("You will be redirected in " + count + " seconds");
if (count == 0) {
window.location = 'http://link.com';
}
if(count < 0) {
$("p#redirect").html("Please wait...");
}
count--;
}, 1000);
});