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

Line 30: Line 30:
 
           if ($target)
 
           if ($target)
 
           {
 
           {
             if ( $target.attr("class") == "manchor" ) { alert('oi'); }
+
             if ( $target.attr("class") == "top" ) { var targetOffset = $target.offset().top-50; }
             var targetOffset = $target.offset().top-50;
+
             else { var targetOffset = $target.offset().top - 50; }
 +
           
 
             $(this).click(function()
 
             $(this).click(function()
 
             {
 
             {

Revision as of 14:15, 15 September 2015