Team:Goettingen/Team/Gallery
From 2013.igem.org
(Difference between revisions)
Line 299: | Line 299: | ||
function showGarPic(from,illustration,alb){ | function showGarPic(from,illustration,alb){ | ||
- | + | finalize(); | |
currentAlb = alb; | currentAlb = alb; | ||
garPic.src = from; | garPic.src = from; | ||
adHeight = $(window).height()*0.8; | adHeight = $(window).height()*0.8; | ||
adWidth = $(window).width()*0.8; | adWidth = $(window).width()*0.8; | ||
- | + | lightframe.style.top = window.scrollY || document.documentElement.scrollTop + 'px' | |
- | + | adjustSize(); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
document.body.style.overflow = 'hidden'; | document.body.style.overflow = 'hidden'; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
document.body.insertBefore(lightframe,document.body.childNodes[0]); | document.body.insertBefore(lightframe,document.body.childNodes[0]); | ||
} | } | ||
- | |||
function go2left(){ | function go2left(){ |
Revision as of 11:18, 15 September 2013