This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
debuggable-scraps / jquery / expandable
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
jquery.expandable.js | Thu Oct 09 16:40:37 -0700 2008 | |
| |
readme.textile | Tue Jul 29 10:31:33 -0700 2008 |
jQuery Expandable Plugin
This plugin allows to add a expand / collapse link to elements with lots of text inside of them.
Usage / Docs
Allow long table columns to expand / collapse
$('table td').expandable();
Use custom link texts
$('table td').expandable({more: 'Show more ..', less: 'Show less'});
Set the cut-off length for the text to 42 characters (+ n characters until next whitespace is found)
$('table td').expandable({length: 42});
Set the cut-off length for the text to 42 characters (-n characters until previous whitespace is found)
$('table td').expandable({length: 42, greedy: false});
Missing Features
- Handle elements containing html
Known Bugs
None











