Team:Heidelberg/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
m |
|||
Line 66: | Line 66: | ||
var a = 0.5 * width; | var a = 0.5 * width; | ||
var b = menu.offsetHeight; | var b = menu.offsetHeight; | ||
- | var wpos = width * position; | + | var wpos = width * position * 0.1; |
var t = Math.acos(wpos / a); | var t = Math.acos(wpos / a); | ||
var beta = Math.atan(a / b * Math.tan(t)); | var beta = Math.atan(a / b * Math.tan(t)); |
Revision as of 13:47, 21 August 2013