The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Expanding and Collapsing Accordion Script? Re: Expanding and Collapsing Accordion Script?


Thanks! I’m a bit slow, I should have seen that. :lol:

I’ve run into a problem though. I think the script is clashing with a lightbox script I have running.

Here’s the accordion script running just fine on one page.

Here’s the same script running on a page that also uses a lightbox script. Both scripts are broken on this page. Remove one or the other fixes the opposite one. You’ll notice that the accordion expands but doesn’t collapse, and the image of the projector loads a new page instead of a lightbox popup.

Here are the scripts that are running for the light box.

Any idea where the problem is?