Team:UCLA/Aal/javascripttemplate
From 2014.igem.org
(Difference between revisions)
Line 36: | Line 36: | ||
offsetTop = offset.top; | offsetTop = offset.top; | ||
$('html, body').animate({scrollTop: offsetTop}, 500, 'linear'); | $('html, body').animate({scrollTop: offsetTop}, 500, 'linear'); | ||
- | } | + | }; |
(function( $ ){ | (function( $ ){ | ||
$.fn.rotator = function(delay, time, child){ | $.fn.rotator = function(delay, time, child){ |
Revision as of 23:26, 2 September 2014