1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

jQuery UI - Accordion

Discussion in 'HTML, Graphics & Programming' started by nero120, 15 Sep 2009.

  1. nero120

    Soldato

    Joined: 12 Jan 2004

    Posts: 6,824

    Location: Londinium

    Hi guys,

    I'm trying to find a decent jquery accordian to use on my site. I am using jQuery UI elsewhere, so i have tried using the jQuery UI Accordion which works well, but I don't want the accordion to use the jquery ui styles. I don't know of a way to "turn them off" for a specific feature, and the thought of overriding all the junk styles that jquery ui sticks in there doesn't please me.

    Can anyone recommend a (jquery) solution?
     
  2. suarve

    Mobster

    Joined: 8 Oct 2005

    Posts: 4,190

    Location: Midlands, UK

    For each ui feature the site shows you what css styles are being applied on the fly. So if you go to http://www.jqueryui.com/demos/accordion/#theming all the css classes used by the accordian are shown. You can then go through the ui css file and change those css files.

    Alternatively you could use http://jquery.bassistance.de/accordion/demo/
     
    Last edited: 15 Sep 2009
  3. nero120

    Soldato

    Joined: 12 Jan 2004

    Posts: 6,824

    Location: Londinium

    Cheers for the help :)