PDA

View Full Version : Resolved Conflict with ddaccordion and colorbox?



dg1
10-14-2011, 09:18 PM
1) Script Title: ddaccordion

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm

3) Describe problem:
I did an extensive search for an accordion with lots of features and ddaccordion met all my requirements! It works great and is so flexible. My problem is now I want to also use colorbox (http://jacklmoore.com/colorbox/) and there seems to be a conflict between the two. If I comment out ddaccordion, then colorbox works, but if I keep them both in there and turn on firebug, I get the following error on firefox:
"Attempt to run compile-and-go script on a cleared scope". It fails on IE, firefox, and chrome, but surprisingly, everything works on safari. I keep trying to debug this, but I am stuck. I have searched google and can't find anything that helps. Note that I am only using jquery; no other javascript frameworks. Any help or suggestions would be appreciated.

dg1
10-14-2011, 11:09 PM
I worked around it by removing the sidebar accordion from the html that was being displayed in the colorbox (probably better this way anyway). Now it works so I'm happy. Again, I must say that ddaccordion is an excellent script!