Team:Heidelberg/Team
From 2013.igem.org
(Difference between revisions)
m |
m |
||
Line 112: | Line 112: | ||
animated = true; | animated = true; | ||
var picsperside = getPicsPerSide(); | var picsperside = getPicsPerSide(); | ||
+ | if (picsperside.v <= 3) { | ||
+ | picsperside.v = 4; // need space for panel | ||
+ | picsperside.h--; | ||
+ | } | ||
var height = (picsperside.v - 2) * 170; // jQuery adds padding | var height = (picsperside.v - 2) * 170; // jQuery adds padding | ||
var width = $('#picscontainer').height(height).width(); | var width = $('#picscontainer').height(height).width(); |
Revision as of 00:49, 5 October 2013