<div class="accordion"> <h3>item heading </h3> <div>something go here</div> <h3>item heading2 </h3> <div>something go here2</div> </div>
On Apr 22, 12:21 pm, "[email protected]" <[email protected]> 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

