Simple table accordion
by blowsie
HTML
<table>
<tr class="expanded">
<td>-</td> <td><span>Cow sirloin fatback beef ribs meatloaf shankle, shoulder ground round meatball tenderloin pork belly andouille drumstick jowl ball tip. Swine meatball fatback, corned beef chuck ham t-bone boudin. Pork chop pork biltong shoulder ribeye spare ribs. Tongue strip steak pancetta ground round short loin, ham rump corned beef short ribs. Short loin short ribs pancetta swine jerky. Meatloaf corned beef beef ribs rump swine ground round, pork spare ribs. Andouille bresaola meatloaf, ribeye jerky tri-tip ham salami turkey short ribs pork belly ham hock chuck.
Beef ribs shankle meatloaf boudin bacon. Brisket t-bone shank, ham hock sirloin salami turkey short loin swine ground round ball tip corned beef andouille tri-tip flank. Ham tail beef ribs pork flank cow. Fatback beef short loin, tri-tip meatball pork loin drumstick short ribs salami corned beef ground round pork tongue shankle. T-bone sirloin short loin hamburger, jerky shank ribeye swine pig. Chuck brisket turkey, ball tip strip steak ham hock beef sirloin pastrami hamburger. Spare ribs ribeye chuck bacon boudin.
Bresaola flank pork belly andouille, pig spare ribs tri-tip hamburger tenderloin rump short ribs. T-bone sirloin tenderloin jerky pancetta, pork loin tail pig drumstick beef pork ham sausage bacon. Ball tip chuck ham hock bresaola, tail swine pig meatloaf tenderloin andouille jerky tri-tip. Shoulder tenderloin rump, corned beef ham hock chicken chuck bacon flank beef tongue sausage. Bacon beef jerky pancetta pork tri-tip. Andouille jerky biltong, shankle ham pancetta pork hamburger bresaola bacon tri-tip short ribs drumstick ribeye. Drumstick sausage tongue strip steak jerky sirloin.</span></td> <td></td>
</tr>
<tr class="collapsed">
<td>+</td> <td><span>Cow sirloin fatback beef ribs meatloaf shankle, shoulder ground round meatball tenderloin pork belly andouille drumstick jowl ball tip....
CSS
td {border: 1px solid #ddd; padding: 5px;}
.collapsed span{height:25px; overflow:hidden; display:block}
JavaScript
$('.expanded, .collapsed').click(function(){
$(this).toggleClass('expanded, collapsed')
});