I have two divs and two separate links that triggers slideDown and slideUp for the divs.
When one of the divs are slided down and I click the other one, I hide the f
Use the second parameter of the function: callback. For example,
$(this).slideDown( speed, function(){ $(this).slideUp(); });