[jQuery] Re: jQuery Truncating Help

2008-10-07 Thread Karl Swedberg
Hi Zachary, I wrote a similar plugin a while back that takes into account nested elements. http://plugins.learningjquery.com/expander/ Maybe that will do the trick. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 7, 2008, at 6:52 AM, Balazs Endresz

[jQuery] Re: jQuery Truncating Help

2008-10-07 Thread Balazs Endresz
I haven't tried it, but in the plugin near line 25 instead of myStr.length you could try something like $this.text(). So that it will check the length of the text instead of the innerHTML. But it may need some more hacking, I don't know. On Oct 6, 11:40 pm, Zachary <[EMAIL PROTECTED]> wrote: > Do

[jQuery] Re: jQuery Truncating Help

2008-10-06 Thread Dave Methvin
What does your markup look like? You might be able to come up with a simple solution for that case, rather than using the plugin.

[jQuery] Re: jQuery Truncating Help

2008-10-06 Thread Zachary
Does no one have any answers to this question...It has been quite a while and I could really use some suggestions. Thanks. On Oct 3, 9:21 am, zacharyd <[EMAIL PROTECTED]> wrote: > I have been working with Brian Reindel's Truncate plug-intrying to get ti > to do what I need.  It seems simple