Team:Heidelberg/Team

From 2013.igem.org

(Difference between revisions)
m
m
Line 109: Line 109:
function startAnimation()
function startAnimation()
{
{
 +
    var picsperside = getPicsPerSide();
 +
    var height = picsperside.v * 170;
 +
    var width = $('#picscontainer').height(height).width();
     $('#memberdesc').hide();
     $('#memberdesc').hide();
     var images;
     var images;
Line 129: Line 132:
$(function(){
$(function(){
     var images = $('.teamimage');
     var images = $('.teamimage');
-
    var picsperside = getPicsPerSide();
 
-
    var height = picsperside.v * 170;
 
-
    var width = $('#picscontainer').height(height).width();
 
     images.click(function(e){
     images.click(function(e){
         if (animated)
         if (animated)

Revision as of 22:52, 4 October 2013