View Full Version : error 'config.toggleclass.0 is null or not an object'

07-19-2008, 07:15 PM
1) Script Title: Accordion Content script (v1.5.1)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm
3) Describe problem:

Hello. I apologize for emailing first, but I have a production issue.

Iíve been using the accordion script without problem for past month on this page www.cool-cat-cards.com to expand and collapse content.

I recently added suffix html to the togglehtml variable. Foolishly I uploaded it to production after only checking it in FF and Safari where it works fine. But in IE 6 and IE 7, I am now getting a runtime error config.toggleclass.0 is null or not an object.

Here is the new code.
togglehtml: ["suffix", "<span class='learn-more'>&nbsp;expand...</span>", "<span class='learn-more'>&nbsp;collapse...</span>"],
Anything I am doing wrong?


07-20-2008, 07:07 AM
I just tested your page in IE7, and didn't get any JS errors. Did you manage to fix the problem already?