1) Script Title:
jQuery Multi Level CSS Menu #2
2) Script URL (on DD):
http://www.dynamicdrive.com/style/cs...el_css_menu_2/
3) Describe problem:
hi everyone,
I recently learned css and jquery so I'm very green @ javascript.
This is my attempt:
My question is how can I change the background of the tab that I'm viewing.Code:http://mh-dev.org
In the css stylesheet I do have overrides for links (a:link, a:visited, a:hover)
An example is here:
You can see that when the hompage is being view then the home navigation tab has different color than the other tab. When I go to a page in a sub-menu then the top level navigation tab of that menu changes color. And by saying so I mean I want the color to change while the page is being viewed and the mouse should no longer need to hover over the navigation tab. Code for the hover state has already been accomplished.Code:http://www.nichesoftware.co.nz/
I have already posted a question at the CSS sub forum but I have yet to found an answer. Can I do what I want with tweaking the css alone or do I need to do that in the Javascript file (I have already tried a couple of solutions that I can think up but none does the trick)
Thanks,
mkf



Reply With Quote




Bookmarks