Team:Goettingen/suplement/scripts
From 2013.igem.org
(Difference between revisions)
m |
m |
||
Line 117: | Line 117: | ||
ob = ob.offsetParent;} | ob = ob.offsetParent;} | ||
return dLeft; | return dLeft; | ||
+ | } | ||
+ | |||
+ | function illus(left,top,name,text){ | ||
+ | var obj = document.getElmentById("illus"); | ||
+ | obj.innerHTML = '<h2>' + name + '</h2>'; | ||
+ | obj.innerHTML += '<p>'+ text + '</p>'; | ||
+ | obj.style.lfet = left + 'px'; | ||
+ | obj.style.top = top + 'px'; | ||
+ | |||
} | } | ||
Revision as of 22:45, 27 June 2013