/jquery.cwReadmore

jQuery.cwReadmore.js is a jQuery plugin that, when given a height or number of lines of text, automatically creates a preview of the full content with a "read more" link. When the "read more" link is clicked, the preview expands so the full content is visible with a "read less" link. This read more plugin is for dynamically-created content, which may contain more than just text. (Including images, multiple paragraphs, etc.) It prevents text or images from simply being "cut off" at the preview's given height. Only text that will be fully visible within the preview height is displayed in the preview.

Primary LanguageJavaScript

This repository is not active