Fork me on GitHub

ellipsis.js by bebraw

Ellipsis plugin for jQuery

License

MIT

Dependencies

jQuery (1.something)

Installation

Copy jquery.ellipsis.js to some appropriate place, link to it at your HTML, use

$(selector).ellipsis(opts);
Check out opts and markup at source.

Download

You can also clone the project with Git by running:

$ git clone git://github.com/bebraw/ellipsis.js

Get the source code on GitHub : bebraw/ellipsis.js

Demo

Interactive

Bulleted List

  • Lion
  • Tiger
  • Cat
  • Jaguar
  • Leopard
  • Panther
  • Lynx

Ordered List

  1. Lion
  2. Tiger
  3. Cat
  4. Jaguar
  5. Leopard
  6. Panther
  7. Lynx

Animated Definition List

    Lion
    Royal
    Tiger
    Striped
    Cat
    Furry
    Cute
    Jaguar
    Leopard
    Strong
    Powerful
    Panther
    Agile
    Lynx
    Sneaky

Paragraph

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Animated Paragraph

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.