Difference between revisions of "Team:Brasil-USP/Templates/Foot"
Thmosqueiro (Talk | contribs) |
Thmosqueiro (Talk | contribs) |
||
Line 30: | Line 30: | ||
if ($target) | if ($target) | ||
{ | { | ||
− | if ( $target.attr("class") == " | + | 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