Line 556: | Line 556: | ||
<script> | <script> | ||
$(function() { | $(function() { | ||
− | $('# | + | $('#nav_bar li a').click(function() { |
− | $('# | + | $('#nav_bar li').removeClass(); |
$($(this).attr('href')).addClass('active'); | $($(this).attr('href')).addClass('active'); | ||
}); | }); |
Revision as of 10:57, 13 September 2016