Team:Cornell/templates/header

From 2012.igem.org

(Difference between revisions)
Line 26: Line 26:
for(var i=0;i<links.length;i++) {
for(var i=0;i<links.length;i++) {
if(window.location.href.toString()==links[i]) {
if(window.location.href.toString()==links[i]) {
-
prev.style.display="block";
+
prev.parentNode.style.display="block";
-
next.style.display="block";
+
next.parentNode.style.display="block";
alert("test");
alert("test");
if(i==0) {
if(i==0) {

Revision as of 18:53, 19 June 2013