Site I am working on. I changed the java script minimally so it uses the hide instead of fade animation because having multiple fade outs made things flash and look clunky. Site is coming along fine however the java script for the current page is not working correctly.
I did not change it from the downloaded code, but if you open the site and click on the navigation, the class current does not get added. It does show when you click down on the mouse, but disappears as soon as you release. The css for .current is just a simple background change and color. I made sure spelling was correct, so not sure what I have to do to get it working.
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.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".