Callback issue. Function not firing
$("a.open").click(function () {
$(".overlay").fadeIn(650, 'easeOutQuad', function () {
$(".pageContainer").load(function () {
$(this).delay(100).fadeIn(850, 'easeOutQuad');
});
});
});
I have a page that I need to display when it has fully loaded, the overlay
fades in perfectly as needed, but the pageContainer that is display:none
does not. It was working perfectly when I had
$(".pageContainer").delay(100).fadeIn(850,'easeOutQuad'); but I need to
make sure the page is loaded before it fades in. Can anybody see a glaring
mistake and be kind enough to help me. Thank you in advance.
No comments:
Post a Comment