| Recommend this page to a friend! |
| Info | Documentation | Demos | Reputation | Support forum | Blog | Links |
| Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
| 2025-07-09 (5 hours ago) | Total: 96 | All time: 422 This week: 4 | ||||||
| Version | License | JavaScript version | Categories | |||
| readmore 1.1 | GNU General Publi... | 1.5 | HTML, jQuery |
| Description | Author | |
A small but versatile jQuery plugin that allows you to truncate specific sections of your content and then creates a "read more" link to toggle the full content. |
What is the best JavaScript read more class?
Difficulties in using a readmore.js
Dynamic Read More plugin for jQuery
(c) 2016 David Whitworth (david@whitworth.de)
Released under the GNU General Public License (GPL)
A small but versatile jQuery plugin that allows you to truncate specific sections of your content and then creates a link to toggle the full content.
<link href="css/advanced-read-more.min.css" rel="stylesheet" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/advanced-read-more.min.js"></script>
<script type='text/javascript'>
$('body').readMore();
</script>
Or with custom options...
<script type='text/javascript'>
$('body').readMore({
showLines: 5,
linkCaption: 'expand...',
linkCloseCaption: 'reduce...',
linkHint: 'Click for more information'
});
</script>
You can find a more detailed introduction including demos for the script here:
http://whitworth.de/ReadMore/ReadMe.html
Version 1.1
Version 1.0.1
If you're interested in my other plugins, like the scroll progress tracker used in the ReadMe.html, feel free to download them from GitHub or JSClasses.org:
https://github.com/Manostion http://www.jsclasses.org/browse/author/20883.html
If you have any questions, notice any bugs, have issues getting the plugin to work, have an idea for a cool feature to be added, or would like to leave any other kind of feedback, feel free to contact me under David@Whitworth.de
Also, please, feel free to send me links to websites where you used this! =)
| File | Role | Description | ||
|---|---|---|---|---|
| Lic. | Version 1.0 | |||
| Doc. | Version 1.0 | |||
| Doc. | Version 1.0 | |||
| / | css |
| File | Role | Description | ||
|---|---|---|---|---|
| |
Data | Version 1.0 | ||
| |
Data | Version 1.0 | ||
| / | js |
| File | Role | Description |
|---|---|---|
| |
Aux. | Version 1.0 |
| |
Aux. | Version 1.0 |
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% |
|
|
| User Ratings | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
| Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.