Template:Imperial/09/TopNavigation

From 2009.igem.org

(Difference between revisions)
Line 8: Line 8:
if (addressSplit[3]=='Team:Imperial_College_London'){
if (addressSplit[3]=='Team:Imperial_College_London'){
     if (typeof(addressSplit[4])=='undefined'){
     if (typeof(addressSplit[4])=='undefined'){
-
document.write('<center><div id="accordion"><div class="panel" id="panel1"><h3>Panel 1</h3><div id="panel1-body" class="panel_body"><div>This is the contents of this panel.</div></div></div>');
+
document.write('<div id="accordion"><div class="panel" id="panel1"><h3>Panel 1</h3><div id="panel1-body" class="panel_body"><div>This is the contents of this panel.</div></div></div>');
document.write('<div class="panel" id="panel2"><h3>Panel 1</h3><div id="panel2-body" class="panel_body"><div>This is the contents of this panel.</div></div></div>');
document.write('<div class="panel" id="panel2"><h3>Panel 1</h3><div id="panel2-body" class="panel_body"><div>This is the contents of this panel.</div></div></div>');
document.write('<div class="panel" id="panel3"><h3>Panel 1</h3><div id="panel3-body" class="panel_body"><div>This is the contents of this panel.</div></div></div>');
document.write('<div class="panel" id="panel3"><h3>Panel 1</h3><div id="panel3-body" class="panel_body"><div>This is the contents of this panel.</div></div></div>');
-
document.write('<div class="panel" id="panel4"><h3>Panel 1</h3><div id="panel4-body" class="panel_body"><div>This is the contents of this panel.</div></div></div></div></center>');
+
document.write('<div class="panel" id="panel4"><h3>Panel 1</h3><div id="panel4-body" class="panel_body"><div>This is the contents of this panel.</div></div></div></div>');
     }
     }
}
}

Revision as of 14:00, 18 October 2009