Am I crazy? The Dojo accordion look like a disaster to create compared
to some of the options on this list $(expr).accordion(options) is
really easy.

On 10/27/06, Indigo <[EMAIL PROTECTED]> wrote:
> On Friday 27 October 2006 17:39, Jörn Zaefferer wrote:
> > Yehuda Katz schrieb:
> > > I've done a bunch of Accordion implementations for various
> > > projects, but never codified them into a single plugin. I suspect
> > > it could be done with much less code than some of the existing
> > > implementations. What are the requirements for a totally abstracted
> > > accordion plugin?
> >
> > It should rely on a certain hierachical structure, instead of any
> > concrete elements. That way it could treat these just the same:
> >
> > <dl class="accordion">
> >     <dt>Title</dt>
> >     <dd>Content</dd>
> > </dl>
> >
> > <div class="accordion">
> >     <h2>Title</h2>
> >     <p>Content</p>
> > </div>
> >
> > It should allow customization of animations, to an extend that it
> > allows to specify wheather show and hide animations should be run at
> > the same time or should be queued.
> >
> > It should accept event listeners for changes in the accordion, like
> > click, show or hide. Best would be to use jQuery's event system for
> > this instead of custom callbacks. This is more of an implementation
> > detail, but I think it's an important one.
>
> Completely agree with you, Jörn. Take a look at dojotoolkit's
> implementation of the accordion container. I think it just is about the
> easiest to create.
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>


-- 
Yehuda Katz
Web Developer | Wycats Designs
(ph)  718.877.1325

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

Reply via email to