- if($(this).height() > 350) {
- $('html').height($('html').height());
- $(this).divgrow({ initialHeight: 300, showBrackets: false, speed: 0 });
- $(this).addClass('divmore');
- $('html').height('auto');
- }
+ $('html').height($('html').height());
+ $(this).readmore({maxheight:350 , moreLink:'<a href="#" class="showmore">+ Show more</a>', lessLink:'<a href="#" class="showmore">+ Show less</a>'});
+ $(this).addClass('divmore');
+ $('html').height('auto');