It's not exactly multiple instances, because it's the same accordion,
but elements that should be opened/closed are not contiguous.
I think maybe i shouldn't use accordion, but have to find how to do..


On 22 avr, 19:41, "Natkeeran L.K." <natkee...@gmail.com> wrote:
> Perhaps, I mis understood your request.
>
> The way you showed is multiple instances of accordion.  --- some
> content --- can be anything.
>
> Thats possible I suppose.
>
> Regards,
> Nat
>
> On Apr 22, 12:21 pm, "okpoube...@gmail.com" <djibm...@gmail.com>
> wrote:
>
> > Hello everyone
>
> > (pls excuse my english...)
>
> > I'm trying to add an accordion to a page.
> > But i can see that the correct structure is something like this:
>
> > <div id="accord">
> >   <h3>item1</h3>
> >   <p>content1</p>
> >   <h3>item2</h3>
> >   <p>content3</p>
> > </div>
>
> > i.e., elements must be contiguous.
>
> > Is it possible to have something like that:
>
> > <div class="accord">
> >   <h3>item1</h3>
> >   <p>content1</p>
> > </div>
> > --- some content ---
> > <div class="accord">
> >   <h3>item2</h3>
> >   <p>content2</p>
> > </div>
>
> > Or maybe i shall try with the solution described here 
> > :http://docs.jquery.com/UI/Accordion#NOTE:_If_you_want_multiple_sectio...
> > and tying to close all other instances...
>
> > Thanks

Reply via email to