jQuery.dotdotdot, advanced cross-browser ellipsis for multiple line content.
Clone or download
FrDH
Latest commit 90a9eb6 Feb 3, 2018
Permalink
Failed to load latest commit information.
dist truncate fix Feb 2, 2018
src truncate fix Feb 2, 2018
.gitignore v1.8.0 Mar 9, 2016
CONTRIBUTING.md small improvement Sep 17, 2017
LICENSE.txt version 3 Sep 15, 2017
README.md version 3 Sep 15, 2017
bower.json truncate fix Feb 2, 2018
composer.json truncate fix Feb 2, 2018
gulpfile.js Version 2.0.0 Aug 28, 2017
index.html truncate to node Jan 18, 2018
package.json truncate fix Feb 2, 2018

README.md

jQuery.dotdotdot

Dotdotdot is a jQuery plugin for truncating multiple line content on a webpage. It uses an ellipsis to indicate that there is more text than currently visible. Optionally, the plugin can keep a "read more" anchor visible at the end of the content, after the ellipsis.

When using the jQuery.dotdotdot plugin, you don't need to worry about your HTML markup, the plugin knows its way around most elements. It's responsive, so when resizing the browser, the ellipsis will update on the fly.

Need help? Have a look at the documentation.

Licence

The jQuery.dotdotdot plugin is licensed under the CC-BY-NC-4.0 license.
You can purchase a license if you want to use it in a commercial project.

Dependencies

  • jQuery 1.7 or higher

Development

This project uses Gulp to minify the JS file. If you are unfamiliar with Gulp, check this tutorial on how to get started.
Run gulp watch in the command-line to put a watch on the files and run all scripts immediately after saving your changes.