Team:Cornell/templates/header

From 2012.igem.org

(Difference between revisions)
Line 24: Line 24:
var prev = document.getElementById("prev");
var prev = document.getElementById("prev");
var next = document.getElementById("next");
var next = document.getElementById("next");
-
alert("test");
 
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.style.display="block";
next.style.display="block";
next.style.display="block";
 +
alert("test");
if(i==0) {
if(i==0) {
prev.style.display="none";
prev.style.display="none";

Revision as of 18:50, 19 June 2013