A JQuery plugin inspired by an article on CSS Tricks.
For the live demo click here.
$('#your-element').readmorize({
step: 150,
overflowAfter: 150
});Options:
overflowAfteryour block will be cut down to this height (in pixels). The overflown content will be hidden and expand only after clicking the read more button.stepThe number of pixels to expand the block down after read more button is clicked.undefinedmeans that clicking the link will expand the whole block.