[jQuery] Slide effect while loading external html

[jQuery] Slide effect while loading external html


Hi,
I am close but no cigar on making this work. I have a section on the
homepage of my site that I am loading external html files into. The loading
and slide effect work ok, but if the content is different lengths, the div
never resets and looks dumb.
This is the code I am using...
---------------------------------------------------
$(document).ready(function() {

$("#tools a").click(function(event){
event.preventDefault();
$("#tools div").slideDown("slow").load(this.href);
});
});
I guess I need to do something similar to the accordion effect, but all of
my links are static and don't need to move. I just want the div I am loading
stuff into to resize properly. I will give anyone a hug that can help me.
--
View this message in context: http://www.nabble.com/Slide-effect-while-loading-external-html-tf2012211.html#a5530009
Sent from the JQuery forum at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/