[jQuery] Double queries using $.load

2009-04-07 Thread EnvyGeeks
It seems that either I'm doing something horribly wrong or something because everytime I do an Ajax call using $.load() it causes a double query on the page. example: $("div#example a").click(function(){ $.ajax_uri = this.href; $("div#sidebar").fade_in(300,function(){ return $("di

[jQuery] Re: Fade Content In and Out

2009-04-07 Thread EnvyGeeks
jQuery.fn.extend({ fade_in:function(speed,callback){ return $(this).animate({opacity:0},speed,callback); }, fade_out:function(speed,callback){ return $(this).animate({opacity:1},speed,callback); }, toggle_fade:function(speed,c