@frogasia/dotdotdot-js

1.6.10 • Public • Published

jQuery.dotdotdot

A jQuery plugin for advanced cross-browser ellipsis on multiple line content.
Demo's and documentation: http://dotdotdot.frebsite.nl

How to use the plugin

Include all nessesary .js-files inside the head-tag of the page.

<head>
    <script src="jquery.js" type="text/javascript"></script>
    <script src="jquery.dotdotdot.js" type="text/javascript"></script>
</head>

Create a DOM element and put some text and other HTML markup in this "wrapper".

<div id="wrapper">
    <p>Lorem Ipsum is simply dummy text.</p>
</div>

Fire the plugin onDocumentReady using the wrapper-selector.

$(document).ready(function() {
    $("#wrapper").dotdotdot({
        // configuration goes here
    });
});

More info

Please visit http://dotdotdot.frebsite.nl

Licence

The jQuery.dotdotdot plugin is dual licensed under the MIT and GPL licenses:

Readme

Keywords

Package Sidebar

Install

npm i @frogasia/dotdotdot-js

Weekly Downloads

24

Version

1.6.10

License

MIT

Unpacked Size

30.5 kB

Total Files

8

Last publish

Collaborators

  • alan.burgoyne
  • lee.frogasia