jQuery UI - Accordion Display issues

Posted by Dave Kiss on Stack Overflow See other posts from Stack Overflow or by Dave Kiss
Published on 2010-06-16T16:28:06Z Indexed on 2010/06/16 16:32 UTC
Read the original article Hit count: 236

Filed under:
|

My accordion is working properly, but I'm having a few CSS and JS issues that are prohibiting it from displaying correctly.

http://jsfiddle.net/frEWQ/

  1. The JS is applying .ui-corners-all to the H3 before the "kwick" div below it has finished collapsing, giving an odd cut-off border during the animation
  2. The margin-bottom applied to the "kwick" div to give spacing between each tab disappears when the tab is set to display:none, getting rid of the spacing... but I can't apply the margin-bottom to the header because it disconnects the header from the "kwick" div below it.

Any suggestions? Modification to the JS/CSS?

Thanks

© Stack Overflow or respective owner

Related posts about css

Related posts about jquery-ui