Template:Imperial/09/TopNavigation

From 2009.igem.org

(Difference between revisions)
Line 9: Line 9:
     if (typeof(addressSplit[4])=='undefined'){
     if (typeof(addressSplit[4])=='undefined'){
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 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="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 id="accordion"><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 id="accordion"><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>');
+
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 13:27, 18 October 2009