Team:Cornell/templates/header

From 2012.igem.org

(Difference between revisions)
Line 19: Line 19:
<body>
<body>
<!-- TOUR TEMPLATE -->
<!-- TOUR TEMPLATE -->
-
<div class="tour" style="left:0">  
+
<div class="tour" style="left:0;display:none">  
<a id="prev" class="small button radius"> Previous </a>
<a id="prev" class="small button radius"> Previous </a>
</div>
</div>
-
<div class="tour" style="right:0">  
+
<div class="tour" style="right:0;display:none">  
<a id="next" class="small button radius"> Next </a>
<a id="next" class="small button radius"> Next </a>
</div>
</div>
Line 45: Line 45:
document.getElementById("next").href=links[i+1];
document.getElementById("next").href=links[i+1];
}
}
-
return;
+
//here once lay a return
}
}
}
}
-
document.getElementById("prev").style.display="none";
+
//document.getElementById("prev").style.display="none";
-
document.getElementById("next").style.display="none";
+
//document.getElementById("next").style.display="none";
</script>  
</script>  
<!-- HEADER TEMPLATE -->
<!-- HEADER TEMPLATE -->

Revision as of 18:43, 19 June 2013