当我单击 asp.net 母版页中的子子菜单项或主项时,如何设置活动菜单项颜色。
我的代码是(母版页源)
<ul class="art-menu">
<li><a href="#" class="{ActiveItem}"><span class="l"></span><span class="r"></span><span
class="t">Submission</span> </a>
<ul>
<li><a href="../QuoteStatus.aspx">Search Submission</a></li>
<li><a href="../NewQuote.aspx">New Submission</a></li>
</ul>
</li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">Requests</span></a>
<ul>
<li><a href="../Requests/IssueCertificates.aspx">Issue Certificates</a></li>
<li><a href="../Requests/QuoteCancellation.aspx">Cancellation</a></li>
<li><a href="../Requests/LossRuns.aspx">Loss Runs</a></li>
<li><a href="../Requests/Endorsements.aspx">Endorsements</a></li>
</ul>
</li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">Reports</span></a>
</li>
<li><a href="#"><span class="l"></span><span class="r"></span><span class="t">Configuration</span></a>
<ul>
<li><a href="../Administration/UserInformation.aspx">User Information</a></li>
<li><a href="../SignUp.aspx">New User</a></li>
<li><a href="../Administration/AdminSettings.aspx">Admin Settings</a></li>
</ul>
</li>
</ul>
如何编写代码,请给我建议...
谢谢你