How can I achieve height animation in reverse?
Instead of the typical animation starting from the top and working its way down, how can I have it start the animation fr
You div and your a tags have the same ID. They must have unique IDs.
div
$('a#line-1').click(function() { $('div#line-1').animate({
needs to be something like:
$('a#line-1').click(function() { $('div#unique_id').animate({
Example Fix