Hi all,
I'm developing a WordPress 3.0 theme, my first theme with a bit of jQuery enhancement. I'm trying to fade out and fade in the pagination on each posts area. The idea is that when a user click the "prev" or "next" arrows, the listed posts will fade out, the next page of posts will load and then fade in.
The fadeouts work fine, but the new content doesn't fade in, it just pops in with no fade. It looks OK, but it's not doing what I want and I can't sort out why.
Here are the two places it's working now on the dev environment (I haven't really cross browser tested yet outside of FF 3.5, FF 3.6 and Chrome, so if you're on IE it may not work as expected):
http://kendraschaefer.com/mandapop/gallery/ http://kendraschaefer.com/mandapop/blog/
And here's the corresponding jQuery:
$(document).ready(function(){
$('#postPagination a').live('click', function(e){
$('#blogListColWrapper, #galleryListColWrapper').fadeOut(200).load(link + ' #blogListCol', function(){
$('#blogListColWrapper, #galleryListColWrapper').fadeIn(300);
Cufon.refresh(); });
});
});
I've tried everything I can think of. Any ideas would be much appreciated.