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.

protected by kiamlaluno Dec 19 '12 at 13:50

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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