I am making my portfolio, totally javascript based. http://portfolio.theadamgaskins.com/Portfolio/
My problem, is when you click one of the navigation buttons, the new page fades in at the same time that the other page fades out. The current page should fade out before the new page fades in. Here's the code I'm using:
$("#homeButton").click(function()
{
$('.page[id!="homePage"]').fadeOut('400', function()
{
$("#homePage").fadeIn('400');
});
});
This is out of context; feel free to View Source
on the site.