I have a menu containing 2 item that pointing to 1 page, my question is how do i highlight the top level item according to where i click it.
<nav>
<ul class="mainNavi" id="menu-main">
<li><a href="#">Home</a></li>
<li><a href="#">Funding Guidelines</a>
<ul class="sub-menu">
<li><a href="#">Learning Institutions</a>
<ul class="sub-menu">
<li><a href="#">Who Is Eligible</a></li>
<li><a href="#">What We Fund</a></li>
</ul>
</li>
<li><a href="#">FAQs</a></li>
</ul>
</li>
<li><a href="#">Projects</a></li>
<li><a href="#">Donations</a>
<ul class="sub-menu">
<li><a href="#">Make Donation</a></li>
<li><a href="#">Request for Tax Exempt Receipts</a></li>
<li><a href="#">FAQs</a></li>
</ul>
</li>
</ul>
</nav>
Referring to above i have two FAQ link, one under Funding Guideline and another one under Donation which both link to the same page. My problem is how to highlight the top-level menu when i click to the link under respective sub-menu, without highlighting the other one. What i have now is that when i click to the menu, it's highlighted both top level menu.