Team:St Andrews/defaulttemplate
From 2010.igem.org
(Difference between revisions)
Line 135: | Line 135: | ||
<script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script> | <script type="text/javascript" src="http://cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.latest.js"></script> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | $ | + | $(function() { |
- | $(' | + | $('#slideshow').cycle({ |
- | + | fx: 'fadeZoom', | |
- | + | timeout: 2000, | |
+ | after: function() { | ||
+ | $('#caption').html(this.alt); | ||
+ | } | ||
+ | }); | ||
}); | }); | ||
+ | |||
</script> | </script> | ||
Revision as of 18:33, 6 September 2010