2012-02-01, 15:05:18
I am not sure I'm wording this correctly, but I have two menu bars on my site: A top level nav bar and a sub page nav bar showing child pages where applicable.
The main menu is made up of individual css sprites and set up manually in css using the .current class.
The child menu is made using Erik's Child Menu Plugin http://www.fohlin.net/getsimple-child-menu-plugin and styled appropriately using the css markup.
What I would like to do is have the link to the parent page stay "current" while someone is on that page's children. I'd also like the current state of the child pages to keep functioning properly as well.
I suspect I'm making this sound more complicated than it is, so here is the site I am talking about...
When at http://www.newenglanddrawings.com/drawings/ you will see the current state of the drawings page link is underlined.
If you click any of the sub page links, let's say http://www.newenglanddrawings.com/drawings/pen-and-ink the child page link turns current, but the parent page link is now no longer indicated as current.
How do I bend this to my will to let people know they are in a certain "section" of my site?
I am a total php / functions newbie, so I fear I will need pretty detailed instructions if coding is involved. I'm hoping the solution is easier than I am making it sound.
Thanks for any suggestions.
The main menu is made up of individual css sprites and set up manually in css using the .current class.
The child menu is made using Erik's Child Menu Plugin http://www.fohlin.net/getsimple-child-menu-plugin and styled appropriately using the
Code:
#child_menu .current a
What I would like to do is have the link to the parent page stay "current" while someone is on that page's children. I'd also like the current state of the child pages to keep functioning properly as well.
I suspect I'm making this sound more complicated than it is, so here is the site I am talking about...
When at http://www.newenglanddrawings.com/drawings/ you will see the current state of the drawings page link is underlined.
If you click any of the sub page links, let's say http://www.newenglanddrawings.com/drawings/pen-and-ink the child page link turns current, but the parent page link is now no longer indicated as current.
How do I bend this to my will to let people know they are in a certain "section" of my site?
I am a total php / functions newbie, so I fear I will need pretty detailed instructions if coding is involved. I'm hoping the solution is easier than I am making it sound.
Thanks for any suggestions.