Add a jquery fadein to this
Add a jquery fadein to this
Out of context: Reply #3
- Started
- Last post
- 3 Responses
- meffid0
Get pagefade.js and apply it to any element on a page.
$(document).ready(function() {
$(".fade").css("display", "none");
$(".fade").fadeIn(1000);
$("a.nav").click(function(event...
event.preventDefault();
linkLocation = this.href;
$(".fade").fadeOut(1000, redirectPage);
});function redirectPage() {
window.location = linkLocation;
}});