Team:UCLA/Aal/javascripttemplate
From 2014.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
}); | }); | ||
}); | }); | ||
- | + | $(window).scroll(function cycleImages() { | |
var images = $('#banner_area img'), | var images = $('#banner_area img'), | ||
now = images.filter(':visible'), | now = images.filter(':visible'), | ||
Line 24: | Line 24: | ||
$(function () { | $(function () { | ||
setInterval(cycleImages, 1400); | setInterval(cycleImages, 1400); | ||
- | }) | + | })); |
- | + | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 23:57, 21 August 2014