Difference between revisions of "Team:Brasil-USP/Templates/Foot"
Thmosqueiro (Talk | contribs) |
Thmosqueiro (Talk | contribs) |
||
Line 19: | Line 19: | ||
<script> | <script> | ||
− | |||
$(document).ready(function() | $(document).ready(function() | ||
{ | { | ||
$('a[href*=#]').each(function() | $('a[href*=#]').each(function() | ||
{ | { | ||
+ | alert(this.pathname); | ||
if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') ) | if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') ) | ||
{ | { |
Revision as of 05:43, 13 September 2015