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

Line 25: Line 25:
 
         if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') )
 
         if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') )
 
         {
 
         {
          alert(this.class)
 
 
           this.hash.replace(/#/,'')
 
           this.hash.replace(/#/,'')
 
           var $targetId = $(this.hash), $targetAnchor = $('[name="' + this.hash.slice(1) +'"]');
 
           var $targetId = $(this.hash), $targetAnchor = $('[name="' + this.hash.slice(1) +'"]');

Revision as of 14:12, 15 September 2015