[jQuery] Re: Issues with Truncate and Expander

2008-04-19 Thread nickbambridge
I also had the expander problem. To overcome it, I selected the elements before and after the read more link, and gave them a display:inline css attribute. The code is as follows. (CSS) .nobreak{display:inline} (Script) //apply nobreak class to element immediately before read-mo

[jQuery] Re: Issues with Truncate and Expander

2008-03-06 Thread sornman
Thanks! That one does seem to do what I need. Not quite as polished as the other 2, but works better for my needs. Only need it to not truncate in the middle of a word, but that shouldn't be too much work. Truncate (in my demo) looks to work properly for multiple paragraphs, picking up where it t

[jQuery] Re: Issues with Truncate and Expander

2008-03-05 Thread Karl Swedberg
Hi there, Yeah, I see the issue. Unfortunately, the Expander plugin is meant for hiding/showing content within a block element, not block elements themselves. I guess this could be seen as a limitation, but I don't think it's one I want to try to overcome at this point. Here's another pl