Team:Heidelberg/Team
From 2013.igem.org
(Difference between revisions)
m |
m |
||
Line 109: | Line 109: | ||
function startAnimation() | function startAnimation() | ||
{ | { | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
if (typeof(lastclicked) == 'undefined' || new Date() - lastclicked >= arguments[1]) { | if (typeof(lastclicked) == 'undefined' || new Date() - lastclicked >= arguments[1]) { | ||
+ | animated = true; | ||
+ | var picsperside = getPicsPerSide(); | ||
+ | var height = picsperside.v * 170; | ||
+ | var width = $('#picscontainer').height(height).width(); | ||
+ | $('#memberdesc').hide(); | ||
+ | var images; | ||
+ | if (arguments.length > 0) | ||
+ | images = arguments[0]; | ||
+ | else | ||
+ | images = $('.teamimage'); | ||
for (var i = 0; i < images.length; ++i) { | for (var i = 0; i < images.length; ++i) { | ||
var leftpos = Math.random() * width; | var leftpos = Math.random() * width; |
Revision as of 22:59, 4 October 2013
![](https://static.igem.org/mediawiki/2013/a/a6/Heidelberg_go_up2.png)
![](https://static.igem.org/mediawiki/2013/a/ae/Heidelberg_tour2_btn.png)