Results 1 to 2 of 2

Thread: error 'config.toggleclass.0 is null or not an object'

  1. #1
    Join Date
    Jun 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default error 'config.toggleclass.0 is null or not an object'

    1) Script Title: Accordion Content script (v1.5.1)
    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...daccordion.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?

    Thanks,
    Don
    don@cool-cat-cards.com

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •