Team:Cornell/templates/header
From 2012.igem.org
(Difference between revisions)
R.Lizarralde (Talk | contribs) |
R.Lizarralde (Talk | contribs) |
||
Line 28: | Line 28: | ||
var needprev = false; | var needprev = false; | ||
var neednext = false; | var neednext = false; | ||
- | |||
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]) { | ||
Line 50: | Line 49: | ||
if(needprev) prev.parentNode.style.display="block"; | if(needprev) prev.parentNode.style.display="block"; | ||
if(neednext) next.parentNode.style.display="block"; | if(neednext) next.parentNode.style.display="block"; | ||
- | + | alert("hi"); | |
} | } | ||
</script> | </script> |
Revision as of 19:27, 19 June 2013