PDA

View Full Version : ddaccordion.js problem in IE8



webedeo
03-09-2010, 07:16 PM
1) Apple style accordion menu
2) http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-apple.htm

3) i have a problem:
the menu is expanding correctly in FF,
but does not expand at all in IE8, even in compatibility mode.
The problem seems to be in the ddaccordion.js script,

running the debug tools in IE8gives an error in line 132 on
if (jQuery.inArray(needle, expandedindices)!=-1)

gives a: method or propriety not supported by the object.

you can check it at wwww.fitforlifeforever.org (www.fitforlifeforever.org)

Should be a problem in how IE8 interpret the script, because in FF it works well.

If anyone know how to fix it, will be greatly appreciated.

ddadmin
03-10-2010, 11:38 AM
Hmm at this point my guess is another script on your page is causing a conflict with this one, at least in IE it is. I tried extracting your menu and inserting it onto a blank page and using the latest jQuery library as you have on your page, and it works in IE8. Try systematically disabling the other scripts on your page to see if a culprit is found.