You dont want an accordion, you want three separate Fx.Slide
instances. Check out the docs.
On Oct 16, 2008, at 6:10 AM, Basheer Al-mansour wrote:
man! you have to call the class 3 times !!
like that
var accordion1 = new Accordion('h3.atStart', 'div.atStart', {
}, $('accordion1div'));
var accordion2 = new Accordion('h3.atStart', 'div.atStart', {
}, $('accordion2div'));
var accordion3 = new Accordion('h3.atStart', 'div.atStart', {
}, $('accordion3div'));
and to give 3 ides in according !!
thanx !
ken wrote:
Well just the same accordian code 3 times:
<div id="accordion">
<h3 class="toggler">Entry 1 - Accordian 1</h3>
<div class="element"><p>text</p>
</div>
<h3 class="toggler">Entry 2 - Accordian 1</h3>
<div class="element"><p>text</p>
</div>
</div>
<div><a id="add_section" href="#" style="display: none;"></
a></
div>
<div id="accordion">
<h3 class="toggler">Entry 1 - Accordian 2</h3>
<div class="element"><p>text</p>
</div>
<h3 class="toggler">Entry 2 - Accordian 2</h3>
<div class="element"><p>text</p>
</div>
</div>
<div><a id="add_section" href="#" style="display: none;"></
a></
div>
<div id="accordion">
<h3 class="toggler">Entry 1 - Accordian 3</h3>
<div class="element"><p>text</p>
</div>
<h3 class="toggler">Entry 2 - Accordian 3</h3>
<div class="element"><p>text</p>
</div>
</div>
<div><a id="add_section" href="#" style="display: none;"></
a></
div>
I want them(the 3 sets) to operate/slide seperately.
On Oct 15, 5:07�pm, "Jeremy B" <[EMAIL PROTECTED]> wrote:
Do you have an example that we can see?
Jeremy Buelerwww.jbueler.com
On Wed, Oct 15, 2008 at 10:44 AM, Scott Galambos
<[EMAIL PROTECTED]>wrote:
I'm using the accordion athttp://demos.mootools.net/Accordion
I have 3 sets of accordions. �but they're all part of the same
group. for
example clicking an entry in the third group collapses the first.
How do I
separate them? �changing the id of the div doesn't make it
unique.
Any ideas?
thanks.- Hide quoted text -
- Show quoted text -