<script type='text/javascript'> $(window).load(function(){ $("#main-menu a").click(function() { $('.active').removeClass('active'); $(this).addClass("active"); }); });> </script> <style> .active {font-weight:bold} </style> <!--Navigation--> <nav id="main-menu"> <ul class="right"> <li><a href="#">Home</a></li> <li><a href="#">Test Link 1</a></li> <li><a href="#">Test Link 2</a></li> <li><a href="#">Test Link 3</a></li> </ul> </nav>
SOCIALIZE IT
Thursday, 23 January 2014
Menu Active Button
Thursday, 2 January 2014
How do I use a gradient as a font color in CSS?
http://jsfiddle.net/HzzHA/ { Firefox }
http://jsfiddle.net/3rvsm/ { Chrome}
Subscribe to:
Posts (Atom)