Recommend this page to a friend! |
Download .zip |
Info | Documentation | Demos | View files (8) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2016-09-08 (23 hours ago) | Not enough user ratings | Total: 49 This week: 49 | All time: 445 This week: 1 |
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. Recommendations What is the best JavaScript read more class? |
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.
<head>
<link href="css/advanced-read-more.min.css" rel="stylesheet" />
<head>
<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! =)
Files |
File | Role | Description | ||
---|---|---|---|---|
css (2 files, 1 directory) | ||||
js (2 files) | ||||
LICENSE | Lic. | Version 1.0 | ||
ReadMe.html | Doc. | Version 1.0 | ||
ReadMe.md | Doc. | Version 1.0 |
Files | / | css |
File | Role | Description | ||
---|---|---|---|---|
LESS (1 file) | ||||
advanced-read-more.css | Data | Version 1.0 | ||
advanced-read-more.min.css | Data | Version 1.0 |
Files | / | js |
File | Role | Description |
---|---|---|
advanced-read-more.js | Aux. | Version 1.0 |
advanced-read-more.min.js | Aux. | Version 1.0 |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.