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_sections_open_at_once.2C_don.27t_use_an_accordion
and tying to close all other instances...

Thanks

Reply via email to