Difference between revisions of "Template:Team:Bielefeld-CeBiTec/JS"

m (fix of last add?)
m (test1)
Line 408: Line 408:
 
 
 
//get center x position of item and place subitems centered to this
 
//get center x position of item and place subitems centered to this
$middle = $(this).position().left + ($(this).width() * 0.5);
+
/*$middle = $(this).position().left + ($(this).width() * 0.5);
 
$totalWidth = 0;
 
$totalWidth = 0;
 
 
Line 437: Line 437:
 
$newPos = $newPos + "px";
 
$newPos = $newPos + "px";
 
 
$($leftItem).css({'margin-left':$newPos});
+
$($leftItem).css({'margin-left':$newPos});*/
 
     });
 
     });
 
});
 
});

Revision as of 14:32, 23 September 2017