Team:Tec-Monterrey/projectnotebook june/day09
From 2011.igem.org
(Difference between revisions)
Line 361: | Line 361: | ||
var stepHeight = contentHeight / PANEL_ANIMATION_STEPS; | var stepHeight = contentHeight / PANEL_ANIMATION_STEPS; | ||
var direction = (!expanding ? -1 : 1); | var direction = (!expanding ? -1 : 1); | ||
- | + | if (direction > 0) | |
+ | collapseAll(); | ||
+ | |||
setTimeout(function(){animateStep(panelContent,1,stepHeight,direction)}, PANEL_ANIMATION_DELAY); | setTimeout(function(){animateStep(panelContent,1,stepHeight,direction)}, PANEL_ANIMATION_DELAY); | ||
} | } | ||
Line 519: | Line 521: | ||
<p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectmodeling">modeling</a></p> | <p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectmodeling">modeling</a></p> | ||
<p><a href="https://2011.igem.org/Team:Tec-Monterrey/safetypage">safety</a></p> | <p><a href="https://2011.igem.org/Team:Tec-Monterrey/safetypage">safety</a></p> | ||
- | <p><a href="https://2011.igem.org/Team:Tec-Monterrey/teamha">human | + | <p><a href="https://2011.igem.org/Team:Tec-Monterrey/teamha">human practice</a></p> |
<p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectnotebook">notebook</a></p> | <p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectnotebook">notebook</a></p> | ||
<p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectresults">results</a></p> | <p><a href="https://2011.igem.org/Team:Tec-Monterrey/projectresults">results</a></p> |