Template:Template ZJU-China 2010

From 2010.igem.org

(Difference between revisions)
Line 416: Line 416:
}
}
-
function hackIGEM(){
+
nereidFadeObjects = new Object();
-
//var objGWrapper = document.getElementById("GlobalWrapper");  
+
nereidFadeTimers = new Object();
-
//objGWrapper.firstChild();
+
function nereidFade(object, destOp, rate, delta){
-
//document.getElementById("
+
if (!document.all)
 +
return
 +
    if (object != "[object]"){ setTimeout("nereidFade("+object+","+destOp+","+rate+","+delta+")",0);
 +
        return;
 +
    }
 +
    clearTimeout(nereidFadeTimers[object.sourceIndex]);
 +
    diff = destOp-object.filters.alpha.opacity;
 +
    direction = 1;
 +
    if (object.filters.alpha.opacity > destOp){
 +
        direction = -1;
 +
    }
 +
    delta=Math.min(direction*diff,delta);
 +
    object.filters.alpha.opacity+=direction*delta;
 +
    if (object.filters.alpha.opacity != destOp){
 +
        nereidFadeObjects[object.sourceIndex]=object;
 +
        nereidFadeTimers[object.sourceIndex]=setTimeout("nereidFade(nereidFadeObjects["+object.sourceIndex+"],"+destOp+","+rate+","+delta+")",rate);
 +
    }
}
}
 +
 +
</script>
</script>
Line 444: Line 462:
             </div>
             </div>
             <div id="menubar2">
             <div id="menubar2">
-
               <a id="id2" class="aa" href="https://2010.igem.org/Team:ZJU-China/ZJUprojects" title="Projects" onMouseOver="showDiv('sheet2', 'menubar2', 'id2')"><b>Projects</b></a>
+
               <a id="id2" class="aa" title="Projects" onMouseOver="showDiv('sheet2', 'menubar2', 'id2')"><b>Projects</b></a>
                     <div id="sheet2">
                     <div id="sheet2">
Line 453: Line 471:
                         <li><a href="https://2010.igem.org/Team:ZJU-China/Application & Significance" title="Application & Significance">Significance</a></li>
                         <li><a href="https://2010.igem.org/Team:ZJU-China/Application & Significance" title="Application & Significance">Significance</a></li>
                         <li><a href="https://2010.igem.org/Team:ZJU-China/Next Generation" title="Next Generation">Next Generation</a></li>     
                         <li><a href="https://2010.igem.org/Team:ZJU-China/Next Generation" title="Next Generation">Next Generation</a></li>     
-
                         <li><a href="https://2010.igem.org/Team:ZJU-China/Characterization of Biobrick" title="Characterization of Biobrick">Characterization of Biobrick</a></li>   
+
                         <!--<li><a href="https://2010.igem.org/Team:ZJU-China/Characterization of Biobrick" title="Characterization of Biobrick">Characterization of Biobrick</a></li>   
 +
                        href="https://2010.igem.org/Team:ZJU-China/ZJUprojects"
 +
                        href="https://2010.igem.org/Team:ZJU-China/ZJUactivities"
 +
                        href="https://2010.igem.org/Team:ZJU-China/ZJUteam"
 +
                        href="https://2010.igem.org/Team:ZJU-China/ZJUsponsors"-->
                         <li><a href="https://2010.igem.org/Team:ZJU-China/Safety" title="Safety">Safety</a></li>
                         <li><a href="https://2010.igem.org/Team:ZJU-China/Safety" title="Safety">Safety</a></li>
                         <li><a href="https://2010.igem.org/Team:ZJU-China/Attribution and Contributions" title="Attribution and Contributions">Attribution and Contributions</a></li>     
                         <li><a href="https://2010.igem.org/Team:ZJU-China/Attribution and Contributions" title="Attribution and Contributions">Attribution and Contributions</a></li>     
Line 462: Line 484:
             <div id="menubar3">
             <div id="menubar3">
-
               <a id="id3" class="aa" href="https://2010.igem.org/Team:ZJU-China/ZJUactivities" title="Acitivies" onMouseOver="showDiv('sheet3', 'menubar3', 'id3')"><b>Activities</b></a>
+
               <a id="id3" class="aa" title="Acitivies" onMouseOver="showDiv('sheet3', 'menubar3', 'id3')"><b>Activities</b></a>
                     <div id="sheet3">
                     <div id="sheet3">
Line 474: Line 496:
             <div id="menubar4">
             <div id="menubar4">
-
               <a id="id4" class="aa" href="https://2010.igem.org/Team:ZJU-China/ZJUteam" title="Team" onMouseOver="showDiv('sheet4', 'menubar4', 'id4')"><b>Team</b></a>
+
               <a id="id4" class="aa" title="Team" onMouseOver="showDiv('sheet4', 'menubar4', 'id4')"><b>Team</b></a>
                     <div id="sheet4">
                     <div id="sheet4">
Line 487: Line 509:
    
    
             <div id="menubar5">
             <div id="menubar5">
-
               <a id="id5" class="aa" href="https://2010.igem.org/Team:ZJU-China/ZJUsponsors" title="Sponsors" onMouseOver="showDiv('sheet5', 'menubar5', 'id5')"><b>Sponsors</b></a>
+
               <a id="id5" class="aa" title="Sponsors" onMouseOver="showDiv('sheet5', 'menubar5', 'id5')"><b>Sponsors</b></a>
                  
                  
                     <div id="sheet5">
                     <div id="sheet5">

Revision as of 17:48, 27 October 2010