Micro Read-more Script
Substring paragraphs that are verbose and long, while making them expandable with a "more" link.
$(/* element */).more({ /* options */ })
text.more
String Read more text for.more-link
when.more-container
can be expandedtext.less
String Read less text to be shown upon expansionlength
Number Characters to show before trimming excess off.- If element inner text is shorter than
length
we ignore the element and continue.
- If element inner text is shorter than
Try it on jsFiddle
Copyright 2013 Mashape, authored by Nijiko Yonskai
Licensed under MIT License