PHP help

I need some help with a php site. I stated my job a few months ago and im just now getting around to this php site we have. Some one else made the site and they used all php to create it. there is one section where you click on a link and the page drops down with more information but once you click it it does drop down but the it close all most as soon as it opens. here is the link to the page im referring to. http://proseriesequipment.com/docs/all-documents.php

as to the coding to that page ill will post here in a bit i have to find all the coding to that page. the person that made it has a really confusing system of file locations.

This is done in javascript, not in PHP :slight_smile:

You have this javascript twice on the page:
[php][/php]

Try removing one of them, it might just be it. (running it twice should give you the result/problem you are seeing)

If that doesn’t work, then problem might be with these lines

$(this).addClass(“active”);
}, function () {
$(this).removeClass(“active”);

Its adding the class, then immediately removing it. This is usually done with an if statement or a timer.

Sponsor our Newsletter | Privacy Policy | Terms of Service