Add an expandable text block on your page to make it less cluttered. The JavaScript plugin will accurately cut the text by word.
JavaScript
window.addEvent('domready', function(){ new ExpandableText({ divId: "textBlock", height: 45, width: 600 }).start(); });
Options:
* divId - Div id containing the text * width - Width the text block * height - Height of the text block * more - Link label to be used in the compact mode. The default is "[more...]". * less - Link label to be used in the expanded mode. The default is "[less]".
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus