Team:Heidelberg/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
Line 76: | Line 76: | ||
{ | { | ||
var root = document.getElementById(id); | var root = document.getElementById(id); | ||
- | root.style = "transform:rotate(" + angle + "rad);position:relative;top:" + (angle[1] - 20) + "px;"; | + | root.style = "transform:rotate(" + angle[0] + "rad);position:relative;top:" + (angle[1] - 20) + "px;"; |
var children = root.children; | var children = root.children; | ||
for (var i = 0; i < children.length; ++i) { | for (var i = 0; i < children.length; ++i) { |
Revision as of 14:19, 21 August 2013