4

Im using Drupal 7, which ships with jQuery UI. I need to have Accordion only on the homepage. jQuery will not just let me download Accordion and then use drupal_add_js().

Do you have any suggestion?

8

jQuery UI Accordion is included in core, use drupal_add_library('system', 'ui.accordion'); to add it.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.