 <p><strong>this could be easily done with just editing your css</strong></p> <pre><code>$('.clampjs').click( function() { $(this).css({ //changes the css of the clicked content. 'height':'100px', //give what ever height you want. 'overflow':'hidden' }); }); </code></pre> <p>just now tested in my page it works...</p>