Just a quick note to let you all know that I managed to get the plugin
working with nested tags. See it in action in the first example on the
demo page.
http://plugins.learningjquery.com/expander/demo.html
The code is still kind of sloppy; I just wanted to get it to work.
I'll revisit it later and try to optimize it a bit. Thanks for all the
feedback so far!
Cheers,
--Karl
On Jan 14, 2008, at 12:20 PM, Karl Swedberg wrote:
Hi Dan,
Thanks for the heads up. That's what I'm working on now -- getting
it to play nice with nested tags.
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 14, 2008, at 10:28 AM, Dan G. Switzer, II wrote:
Karl,
Last week I wrote a blog entry about how to hide a portion of an
element's text and display a link that, when clicked on, reveals the
hidden portion.
http://www.learningjquery.com/2008/01/revealing-details-with-jquery
Just looking at the blog example, it would appear when splitting
the <dt>
tag the slicePoint would fall either in the middle of HTML tag or
between an
open/close tag.
-Dan