lTruncate is a jQuery plugin that easily allows you to show/hide some elements in a HTML list.