blob: c2e561fb809ca1c60c8584e95d5dc1e6ced37755 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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](http://dotdotdot.frebsite.nl).
<img src="http://dotdotdot.frebsite.nl/preview.png" width="100%" border="0" />
### Licence
The jQuery.dotdotdot plugin is licensed under the [CC-BY-NC-4.0 license](http://creativecommons.org/licenses/by-nc/4.0/).<br />
You can [purchase a license](http://dotdotdot.frebsite.nl#download) if you want to use it in a commercial project.
### Dependencies
+ jQuery 1.7 or higher
### Development
This project uses [Gulp](http://gulpjs.com/) to minify the JS file.
If you are unfamiliar with Gulp, check [this tutorial](https://travismaynard.com/writing/getting-started-with-gulp) on how to get started.<br />
Run `gulp watch` in the command-line to put a watch on the files and run all scripts immediately after saving your changes.
|