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

Line 29: Line 29:
 
           if ($target)
 
           if ($target)
 
           {
 
           {
             if ( $target.attr("class") == "top" ) { var targetOffset = $target.offset().top-50; }
+
             if ( $target.attr("class") == "top" ) { var targetOffset = $target.offset().top; }
             else { var targetOffset = $target.offset().top - 50; }
+
             else { var targetOffset = $target.offset().top - 70; }
 
              
 
              
 
             $(this).click(function()
 
             $(this).click(function()

Revision as of 15:05, 15 September 2015

Back to top