> I had to modify my original implementation which was for a <dl> to
> also work with the following structure:
> 
> <ul class="accordion">
>     <li>
>         <a href="#">Title</a>
>         <ul>
>             <li><a href="#">Content</a></li>
>         </ul>
>     </li>
> </ul>
> 
> This is a similar structure to the ones proposed in that the title and
> content tags have the same sibling relationship, but the kicker is the
> additional layer of abstraction of the <li> around every pair. I also
> had to detect whether there was a sibling <ul> before attaching the
> onclick so that the link would work as normal if there was no subnav
> to show.  I was able to get this to work in one plugin with an
> additional mode:'ul' option, but it was a pain. I wanted to add it to
> the discussion because I'm not sure if it's an additional requirement,
> or just a different plugin.

I'll have to check if this structure can be handled by my current accordion 
implementation. In either case, I'll let you know if it can be modified to 
handle it, without too much pain.

--
Jörn Zaefferer

http://bassistance.de
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to