Difference between revisions of "Team:Brasil-USP/Templates/Foot"
Thmosqueiro (Talk | contribs) |
Thmosqueiro (Talk | contribs) |
||
Line 29: | Line 29: | ||
if ($target) | if ($target) | ||
{ | { | ||
− | if ( $target.attr("class") == "top" ) { var targetOffset = $target.offset().top | + | if ( $target.attr("class") == "top" ) { var targetOffset = $target.offset().top; } |
− | else { var targetOffset = $target.offset().top - | + | else { var targetOffset = $target.offset().top - 70; } |
$(this).click(function() | $(this).click(function() |
Revision as of 15:05, 15 September 2015