$(document).ready(function() { $('div.content').css("display", "none"); $('div.content').fadeIn(2000); $("a").mouseover(function(event){ linkLocation = this.href; $("div.content").fadeOut(1000, redirectPage); }); function redirectPage() { window.location = linkLocation; } });
$("a").one("mouseenter mouseleave",function(event)
$("a").mouseover(function(event)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)