Team:SDU-Denmark/Accordionmenu
From 2012.igem.org
Introduction
<a href="/Team:SDU-Denmark">Home
</a> <a href="/Team:SDU-Denmark/Team">Team<p></a> </span> </div>
Project
<a href="/Team:SDU-Denmark/Project/Overview"> Overview<p></a> <a href="/Team:SDU-Denmark/Project/Experiments"> Experiments<p></a> <a href="/Team:SDU-Denmark/Project/Parts">Parts<p></a> <a href="/Team:SDU-Denmark/Project/Biobrics">Bio Bricks<p></a> <a href="/Team:SDU-Denmark/Project/Futureapplications">Future Applications<p></a>
Results
<a href="/Team:SDU-Denmark/Results/Summary">Summary<p></a> <a href="/Team:SDU-Denmark/Results/Data">Data<p></a> <a href="/Team:SDU-Denmark/Results/Discussion">Discussion<p></a>
Human Practices
<a href="/Team:SDU-Denmark/Safety/Lab">Overview<p></a> <a href="/Team:SDU-Denmark/Safety/FAQs">Safety<p></a>
Side Projects
<a href="/Team:SDU-Denmark/Parts/Contributions">Plant vs Prokaryot<p></a>
Notebook
<a href="/Team:SDU-Denmark/Notebook/Protocols/Rehydration">protocols<p></a>
Partners
<a href="/Team:SDU-Denmark/Partners/Sponsors">Sponsors<p></a> <a href="/Team:SDU-Denmark/Partners/OSLI">iGEM teams<p></a>
Extras
<a href="/Team:SDU-Denmark/Extras/Recruitment">Podcast <p></a> <a href="/Team:SDU-Denmark/Extras/Achievements">Achievements<p></a> <a href="/Team:SDU-Denmark/Extras/Brainstorming">Photo Gallery<p></a> <a href="/Team:SDU-Denmark/Extras/Video">Video Gallery<p></a>
</div>
<script type="text/javascript"> var ContentHeight = 200; var TimeToSlide = 300.0;
var openAccordion = ;
function runAccordion(index, AccHeight)
{
ContentHeight = AccHeight;
var nID = "Accordion" + index + "Content"; if(openAccordion == nID) nID = ;
setTimeout("animate(" + new Date().getTime() + "," + TimeToSlide + ",'" + openAccordion + "','" + nID + "')", 33);
openAccordion = nID;
}
function animate(lastTick, timeLeft, closingId, openingId) { var curTick = new Date().getTime(); var elapsedTicks = curTick - lastTick;
var opening = (openingId == ) ? null : document.getElementById(openingId); var closing = (closingId == ) ? null : document.getElementById(closingId);
if(timeLeft <= elapsedTicks) { if(opening != null) opening.style.height = ContentHeight + 'px';
if(closing != null) { closing.style.display = 'none'; closing.style.height = '0px'; } return; }
timeLeft -= elapsedTicks; var newClosedHeight = Math.round((timeLeft/TimeToSlide) * ContentHeight);
if(opening != null) { if(opening.style.display != 'block') opening.style.display = 'block'; opening.style.height = (ContentHeight - newClosedHeight) + 'px'; }
if(closing != null) closing.style.height = newClosedHeight + 'px';
setTimeout("animate(" + curTick + "," + timeLeft + ",'" + closingId + "','" + openingId + "')", 33); }
</script>
</div> </div>