Team:Heidelberg/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
JuliaS1992 (Talk | contribs) m |
JuliaS1992 (Talk | contribs) m |
||
Line 99: | Line 99: | ||
angle[0] *= factor; | angle[0] *= factor; | ||
var root = document.getElementById(id); | var root = document.getElementById(id); | ||
- | root.style = "transform:rotate(" + angle[0] + "rad);position:relative; top:calc( | + | root.style = "transform:rotate(" + angle[0] + "rad);position:relative; top:calc(5.5em - " + angle[1] + "px);"; // 100px from #main-menu |
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 13:09, 24 August 2013