Highlight anchor element
- by dotNetNewbie
I have the following three items displayed side by side:
<div class="page-header">
<h1 style="line-height:0">Title</h1>
<ul style="float: right; list-style-type: none;">
<li><a href="http://test1.com">T1</a></li>
<li><a href="http://test2.com">T2</a></li>
<li><a href="#">T3</a></li>
</ul>
</div>
I want to highlight the item once the user clicked on it (eg. T1). Something similar to how stackoverflow has the blocks like Questions, Tags, Users etc.