Difference between revisions of "Team:Brasil-USP/Templates/Foot"

Line 19: Line 19:
  
 
     <script>
 
     <script>
    alert('oi');
 
 
     $(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