Revolution9
asked on
Need more interactivity in nav menu
ASKER
I was afraid you'd say that.
Create a class for your nav for current page.
header nav ul li.currentpage a {
color:red;
text-decoration:underline
}
Then in your li add the class currentpage
<li class="currentpage"><a href="index.html">home</a> </li>
http://jsbin.com/umitig/1/
Play around with the actual color you want and also a hover feature too
header nav ul li.currentpage a {
color:red;
text-decoration:underline
}
Then in your li add the class currentpage
<li class="currentpage"><a href="index.html">home</a>
http://jsbin.com/umitig/1/
Play around with the actual color you want and also a hover feature too
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here's an idea or two to get you started:
http://www.richnetapps.com/automatically_highlight_current_page_in/
http://www.paulund.co.uk/use-jquery-to-highlight-active-menu-item