c# - change html elements attributes


my master page contains list shown here. i'd though, supplement "class=active" charge list li thats now active nonetheless i have thought this. i know formula goes aspx page's page_load event, nonetheless thought opening li i need supplement attribute. greatfully illuminate me. thanks.



<div id="menu">
<ul id="nav">
<li class="forcepadding"><img src="css/site-style-images/menu_corner_right.jpg" /></li>
<li id="screenshots"><a href="screenshots.aspx" title="screenshots">screenshots</a></li>
<li id="future"><a href="future.aspx" title="future">future</a></li>
<li id="news"><a href="news.aspx" title="news">news</a></li>
<li id="download"><a href="download.aspx" title="download">download</a></li>
<li id="home"><a href="index.aspx" title="home">home</a></li>
<li class="forcepadding"><img src="css/site-style-images/menu_corner_left.jpg" /></li>
</ul>
</div>


Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members