![]() |
Jquery accordion question - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Jquery accordion question (/showthread.php?tid=20561) |
Jquery accordion question - El Forum - 07-14-2009 [eluser]webscriptz.be[/eluser] i'm using the jquery accordion plugin: http://jqueryui.com/demos/accordion/#event-changestart But I want a sub accordion and for one thing or another it doesn't seem to work: Code: [removed] can anybody help me? Jquery accordion question - El Forum - 07-14-2009 [eluser]TheFuzzy0ne[/eluser] I'd suggest you check the demo again, as you're syntax doesn't seem to match any of the examples. Jquery accordion question - El Forum - 07-14-2009 [eluser]webscriptz.be[/eluser] you were right (sorry for the code, i'm working on a acer 'one' so tiny screen but the exact code with some extras: Code: [removed] Jquery accordion question - El Forum - 07-14-2009 [eluser]jdfwarrior[/eluser] Your problem is very descriptive (and yes im being extremely sarcastic). What is it not doing? What are you trying to nest accordions? That seems to be a bit odd. You also need to specify that your H3 tags are the header and not the anchor tags (default) @fuzzy: It does follow the examples somewhat. Jquery's accordion defaults to having the overall container, then anchor tags are the headings for the accordion, then whatever container is after the anchor is the content. jQuery Accordion Jquery accordion question - El Forum - 07-14-2009 [eluser]jdfwarrior[/eluser] Looking at your second post, seems that you need to work on your jQuery some. That code is wrong. You dont call the accordion method 3 times to set your options.. Code: $("#accordion").accordion({ Changing the header came straight out of the documentation. |