Highlight anchor element
Posted
by
dotNetNewbie
on Stack Overflow
See other posts from Stack Overflow
or by dotNetNewbie
Published on 2012-06-19T21:13:50Z
Indexed on
2012/06/19
21:16 UTC
Read the original article
Hit count: 181
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.
© Stack Overflow or respective owner