Forums

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

Home Forums JavaScript Dynamic Reload – current class not being added Re: Dynamic Reload – current class not being added

#104622
Jeager
Member

So I just tried switching the main-content with a wrap above it that wraps the nav with no success. Also tried adding “#page-wrap #main nav a” to the script for a more absolute path with no success. I also tried the original code with no changes with no luck either.

Dont see anything apperently wrong with the HTML and I have the .current class set up in the CSS. The only thing that is currently activating what should be the “current” class is the “nav ul li a:active” line, which presents itself when you click down on the mouse.