menu highlighting
-
I would like to do some menu highlighting, meaning if a user clicks a section, that button would have a different color or css style to show your on that section. I am using the wp-framework theme.
I am using a static nav, because some of my buttons go to strange pages and I don’t want any sub pages to appear under parent page buttons, here it is:
[please mark your code using the code button]
<div id="main-nav"> <ul id="navigation"> <li id="one"><a href="#">current projects</a> <li id="two"><a href="#2">completed projects</a> <li id="three"><a>profile</a> <li id="four"><a>perspective</a> <li id="five"><a href="#5">pin-ups</a> <li id="six"><a href="#6">contact</a> <ul> </div>
The reason I am using a static nav instead of a wp menu() function is because I don’t want any drop downs or access to sub pages in the nav. If somebody can guide me to how I can do some menu highlighting with this nav, any help is greatly appreciated. Or if you have any other ideas on how I can achieve it, please let me know.
I tried using the codex tutorial but I can’t get it to work…
- The topic ‘menu highlighting’ is closed to new replies.