Performs fadein/fadeout transitions to any page

$("body").css("display", "none"); $("body").fadeIn(2000); $("a.transition").click(function(event) { event.preventDefault(); linkLocation = this.href; $("body").fadeOut(1000, redirectPage); }); function redirectPage() { window.location = linkLocation; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.