trunk8
trunk8 copied to clipboard
jQuery Truncation Plugin -- THIS PROJECT IS NO LONGER MAINTAINED
Now you can add a class to the truncated element but only if its text is really truncated.
deleted
FIrst of all, thanks for such a wonderful utility. Coming to the issue, If I include hyperlinks as text, it doesn't truncate. I tried with HTML parse as well, but...
I copied the toggle example from the demos and I get this: ``` Uncaught TypeError: Cannot read property 'original_text' of undefined at HTMLParagraphElement. (trunk8.js:269) ```
Thanks for the excellent plugin. In the onTruncate callback, I want to do something with the element that has been truncated (highlight, add styles, javascript, etc.) It looks like the...
 
Ideally, if an element contains HTML, only its visible text should be truncated. The HTML code itself shouldn't be considered part of the text to truncate. Example: ``` javascript /*...
I'm doing a simple $(element).trunk8({ lines: 2 }) Which works great on mosts browsers. However, in IE9 (did not test other versions of IE). It gets truncated at the end...
Thanks for the work on this library. However, recently I noticed an issue where the truncation was failing and causing strange results. After some investigation, it was happening when the...
Boundary check for fixed width truncation; skip truncation if text length is smaller than the requested truncation size.