PDA

View Full Version : Can't get Accordion Content script to work in Joomla 1.5




skella
03-13-2008, 12:40 PM
Can someone please help. I am trying to get the Accordion Content script to work in Joomla 1.5 but i'm having trouble.

I tried the script in a standard html page and it works fine.

With Joomla i can't get it to do anything. I copied the relevant <head> code into the <head> section of the template HTML and then use the class references in the actual Article HTML.

Any suggestions anyone?

ddadmin
03-13-2008, 11:06 PM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Please post a link to the page on your site that contains the problematic script so we can check it out.

skella
03-27-2008, 02:50 AM
Sorry about that...

Script: DD Accordion Content
http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm

Link to page that's having problems here (http://www.mortgageservices.com.au/joomla/faq/14-our-services/27-are-you-a-member-of-the-mfaa)

I posted a forum topic in my RocketTheme Template Club (http://www.rockettheme.com/option,com_smf/Itemid,190/topic,30825.new/#new) and they suggested that I look at the page with Firebug (http://getfirebug.com) which is awesome little tool. Firebug gave the following error: $("." + config.headerclass) has no properties (in line 85 of ddaccordion.js). Anybody have a clue?

skella
03-27-2008, 05:05 AM
OK I fixed it using this thread... http://www.dynamicdrive.com/forums/showthread.php?t=30501&highlight=accordion