thanks, Brian! I'm relieved to hear that.
Working on the nested element thing now. Trickier than I had expected.
Regular expressions to the rescue. :)
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 14, 2008, at 10:31 AM, Giant Jam Sandwich wrote:
That's okay Karl -- yours is probably much better :)
Actually, the Truncate plugin has a small bug that I have been meaning
to fix for quite some time, and I have been lazy about doing so...
it's a good thing your plugin came along!
As an FYI -- the number one request I received was to be able to
truncate in the middle of a nested element, and still maintain the
style applied through that element.
Brian
On Jan 14, 8:58 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
On Jan 14, 2008, at 12:13 AM, rolfsf wrote:
Very nice Karl, as usual!
It's similar in functionality to the http://www.reindel.com/truncate/
truncate plugin that I recently used, but feels more refined.
Oh my! You're right. I should have done a more thorough search of
existing plugins before writing this one. Brian, sorry about the
overlap.
How about making it easy to use an expand/collapse icon in place of
the
text?
Good idea. I'll examine how to do that as elegantly as possible.
Thanks for the feedback. Much appreciated!
--Karl