works here http://jsbin.com/axulo

not sure if it is causing issues but your page doesn't validate

I did find that putting the nested accordion in a collapsed panel created problems with content height but it did funcction on open / close fine unlike your example. I'm sure there's a simple workaround for the height problem

Keep in mind nested and parent accordion have exact same widget class structure so if master gets told to set class panel1 content height to 0, may be acting on same class for child accordion

Cristian Pascu wrote:
That is not an option for me. :-) I'm working on this tool,
www.flairbuilder.com, that lets you do whatever you want, including nesting
accordions. I'm now working on a export to HTML, and since I'm using jQuery,
I faced this problem. I also tried jquery-tools accordion and it has the
same issue. Since indeed, it's a bit of corner case usage, I may just ignore
it for not, until I finish the entire export. Still, it's wired that it
happens. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Aaron
Sent: Wednesday, July 22, 2009 4:41 PM
To: jQuery UI
Subject: [jquery-ui] Re: Accordion within an accordion


You may want to reconsider nesting accordions in the first place. It
seems like it would be a  confusing UI experience for users.

On Jul 22, 4:51 am, Cristian Pascu <[email protected]> wrote:
  
I forgot to specifiy the link to the
    
example:http://flairbuilder.com/bugs/jquery/accordion/Page%201.html
  
<http://flairbuilder.com/bugs/jquery/accordion/Page%201.html>Sorry about
this!

2009/7/22 Cristian Pascu <[email protected]>

    
Hi everyone,
      
I'm pretty new to jQuery UI and am facing this problem with accordion
embedded within another's accordion tab. Here's a link to an example
of this problem. When changing the tabs of the embedded accordion, the
container accordion reacts too, as the event is bubbled up. I know it
may not be a common usecase but I'm working on something pretty
generic and have to consider this case, too.
      
Is there a way to prevent the mouse event bubbling or is this a bug?
      
Thanks!
      




  


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to