Team:LMU-Munich/Templates/Page Header

From 2012.igem.org

(Difference between revisions)
(new mascot image size)
 
(One intermediate revision not shown)
Line 479: Line 479:
var dummy = document.createElement("div");
var dummy = document.createElement("div");
mascot.parentNode.insertBefore(dummy, mascot);
mascot.parentNode.insertBefore(dummy, mascot);
-
mascot.style.marginTop = "-150px";
+
mascot.style.marginTop = "-268px";
-
dummy.style.height = "150px";
+
dummy.style.height = "268px";
function get_y(ele) {
function get_y(ele) {
Line 493: Line 493:
var scroll_top = window.pageYOffset != null ? window.pageYOffset : document.body.parentElement ? document.body.parentElement.scrollTop : document.body.scrollTop;
var scroll_top = window.pageYOffset != null ? window.pageYOffset : document.body.parentElement ? document.body.parentElement.scrollTop : document.body.scrollTop;
-
var distance_bottom = window.innerHeight - 150 - (get_y(dummy) - scroll_top);
+
var distance_bottom = window.innerHeight - 268 - (get_y(dummy) - scroll_top);
if(distance_bottom > 75) {
if(distance_bottom > 75) {
Line 500: Line 500:
mascot.style.bottom = "75px";
mascot.style.bottom = "75px";
mascot.style.width = "210px";
mascot.style.width = "210px";
-
mascot.style.height = "150px";
+
mascot.style.height = "268px";
} else {
} else {
mascot.style.position = "static";
mascot.style.position = "static";

Latest revision as of 17:04, 24 October 2012

iGEM Ludwig-Maximilians-Universität München Beadzillus

Team-LMU Sidebar Home.jpg

The LMU-Munich team is exuberantly happy about the great success at the World Championship Jamboree in Boston. Our project Beadzillus finished 4th and won the prize for the "Best Wiki" (with Slovenia) and "Best New Application Project".

IGEM HQ LMU prize.jpg

[ more news ]

Sporenfreunde