Team:LMU-Munich/Templates/Page Header

From 2012.igem.org

(Difference between revisions)
m (i hate editing stuff in a browser…)
(hopefully fixed some IE8 menu bugs (i'll be able to test this tomorrow, let's hope it does not break anything))
Line 158: Line 158:
position: absolute;
position: absolute;
margin-top: 0;
margin-top: 0;
-
padding-top: .2em;
+
border-top: .2em solid #7b406c;
top: 2.5em;
top: 2.5em;
width: auto;
width: auto;
Line 302: Line 302:
if(ele.my_opacity > 0.0) {
if(ele.my_opacity > 0.0) {
ele.setAttribute("class", "over");
ele.setAttribute("class", "over");
 +
ele.className = "over";
} else {
} else {
ele.setAttribute("class", "");
ele.setAttribute("class", "");
 +
ele.className = "";
}
}
 +
}
 +
 +
function addEvent(ele, evnt, func) {
 +
if (ele.addEventListener) {
 +
ele.addEventListener(evnt,func,false);
 +
} else if (ele.attachEvent) {
 +
ele.attachEvent("on"+evnt, func);
 +
}
}
}
Line 311: Line 321:
var li = lis[i];
var li = lis[i];
li.my_opacity = 0.0;
li.my_opacity = 0.0;
-
li.addEventListener("mouseover", function() {
+
addEvent(li, "mouseover", function() {
if(this.timeout != null) {
if(this.timeout != null) {
window.clearTimeout(this.timeout);
window.clearTimeout(this.timeout);
Line 323: Line 333:
}, timeout);
}, timeout);
});
});
-
li.addEventListener("mouseout", function() {
+
addEvent(li, "mouseout", function() {
if(this.timeout != null) {
if(this.timeout != null) {
window.clearTimeout(this.timeout);
window.clearTimeout(this.timeout);

Revision as of 19:49, 7 August 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 ]