Team:Cornell/templates/tour
From 2012.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
<body> | <body> | ||
<div class="tour" style="left:0"> | <div class="tour" style="left:0"> | ||
- | <a href="https://2012.igem.org/Team:Cornell/Sandbox"> Previous </a> | + | <a id="prev" href="https://2012.igem.org/Team:Cornell/Sandbox"> Previous </a> |
</div> | </div> | ||
<div class="tour" style="right:0"> | <div class="tour" style="right:0"> | ||
- | <a href="https://2012.igem.org/Team:Cornell/Sandbox"> Next </a> | + | <a id="next" href="https://2012.igem.org/Team:Cornell/Sandbox"> Next </a> |
</div> | </div> | ||
</body> | </body> | ||
+ | <script> | ||
+ | var 1="https://2012.igem.org/Team:Cornell/Sandbox/project/wetlab" | ||
+ | if(window.location.href.toString()==1) { | ||
+ | document.getElementById("prev").href="https://2012.igem.org/Team:Cornell"; | ||
+ | document.getElementById("next").href="https://2012.igem.org/Team:Cornell"; | ||
+ | } | ||
+ | </script> | ||
</html> | </html> |
Revision as of 18:03, 13 June 2013