Team:Shenzhen BGIC 0101/front page

From 2013.igem.org

(Difference between revisions)
Line 44: Line 44:
<img id="logo1" src="https://static.igem.org/mediawiki/2013/2/28/IGEM_1.png" style="position:absolute;top : 200px;left :1px;z-index: 99;width: 200px;height:150px"/>
<img id="logo1" src="https://static.igem.org/mediawiki/2013/2/28/IGEM_1.png" style="position:absolute;top : 200px;left :1px;z-index: 99;width: 200px;height:150px"/>
<img id="logo2" src="https://static.igem.org/mediawiki/2013/e/e6/Logo_1.jpg" style="position:absolute;top : 200px;right :15px;z-index: 99;width: 200px;hegiht:150px"/>
<img id="logo2" src="https://static.igem.org/mediawiki/2013/e/e6/Logo_1.jpg" style="position:absolute;top : 200px;right :15px;z-index: 99;width: 200px;hegiht:150px"/>
-
<h1 style="background:transparent">BGIC-shenzhen 0101</h1>
 
<div id="portfolio"  style="background-color:#000">
<div id="portfolio"  style="background-color:#000">
Line 88: Line 87:
document.getElementsByClassName("path3")[0].getElementsByTagName("a")[1].style.display = "none";
document.getElementsByClassName("path3")[0].getElementsByTagName("a")[1].style.display = "none";
}
}
-
                         var i = 0;
+
                         var i = 1;
-
setInterval("xixi()",200);
+
setInterval("xixi()",100);
function xixi(){
function xixi(){
-
i += 0.1;
+
i -= 0.02;
document.getElementById("logo1").style.opacity = i;
document.getElementById("logo1").style.opacity = i;
document.getElementById("logo2").style.opacity = i;
document.getElementById("logo2").style.opacity = i;
-
if ( i > 1)
+
-
i = 0;
+
-
}
+
</script>
</script>

Revision as of 03:14, 26 September 2013