I was just wondering if it is possible to cause the css background change that I use jQuery to perform can be enhanced with a fadeIn function. I know this can be accomplished using hidden divs, but I would prefer to use 1 div and fadeIn the image from CSS. Here is the working script with no fade.
jQuery('nav .home a').mouseover(function()
{
jQuery('.viewport').addClass('viewporthome');
});
jQuery('nav .home a').mouseout(function()
{
jQuery('.viewport').removeClass('viewporthome');
});
I tried nesting a jQuery(jQuery('.viewport').addClass('viewporthome')).fadeIn(1000);
to no avail. Anyone have any ideas?