Team:UCLA/Aal/javascripttemplate
From 2014.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
}); | }); | ||
}); | }); | ||
- | function cycleImages() { | + | $(window).scroll(function cycleImages() { |
var images = $('#banner_area img'), | var images = $('#banner_area img'), | ||
now = images.filter(':visible'), | now = images.filter(':visible'), | ||
Line 21: | Line 21: | ||
now.fadeOut(speed); | now.fadeOut(speed); | ||
next.fadeIn(speed); | next.fadeIn(speed); | ||
- | } | + | }) |
$(function () { | $(function () { |
Revision as of 23:14, 21 August 2014