Team:UCLA/Aal/javascripttemplate
From 2014.igem.org
(Difference between revisions)
Line 37: | Line 37: | ||
$('html, body').animate({scrollTop: offsetTop}, 500, 'linear'); | $('html, body').animate({scrollTop: offsetTop}, 500, 'linear'); | ||
} | } | ||
+ | $(document).scroll(function() { | ||
+ | $("#slides").rotator(55, 1000, 'img'); | ||
+ | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 22:32, 2 September 2014