jQuery.dotdotdot.

I’m impressed by this jQuery plugin that will trim text to fit within a container, concluding with an elipsis and, optionally, a “Read More” link. It’s a small thing, but a nicety that I look forward to putting to work myself. The only catch is that the elipsis should have non-breaking thin spaces between the periods, and it should be preceded by an em space. But that’s easily fixed when installing it. 

Published by Waldo Jaquith

Waldo Jaquith (JAKE-with) is an open government technologist who lives near Char­lottes­­ville, VA, USA. more »