Team:Goettingen/project overview/therapeutics
From 2014.igem.org
(Difference between revisions)
m |
m |
||
Line 38: | Line 38: | ||
</div> | </div> | ||
+ | <script>var url1 = "https://2014.igem.org/Team:Goettingen/project_overview"; | ||
+ | var url2="https://2014.igem.org/Team:Goettingen/project_overview/fungal_infections"; | ||
+ | var url3="https://2014.igem.org/Team:Goettingen/project_overview/current_tools"; | ||
+ | var url4="https://2014.igem.org/Team:Goettingen/project_overview/project"; | ||
+ | var url5="https://2014.igem.org/Team:Goettingen/project_overview/perspectives"; | ||
+ | var url6="https://2014.igem.org/Team:Goettingen/project_overview/diganosis"; | ||
+ | var url7="https://2014.igem.org/Team:Goettingen/project_overview/therapeutics";</script> | ||
+ | <script>$(document).keydown(function(e) { | ||
+ | switch(e.which) { | ||
+ | case 37: // left | ||
+ | window.location = url6; | ||
+ | break; | ||
+ | |||
+ | |||
+ | case 39: // right | ||
+ | console.log("right"); | ||
+ | |||
+ | break; | ||
+ | |||
+ | |||
+ | |||
+ | default: return; // exit this handler for other keys | ||
+ | } | ||
+ | e.preventDefault(); // prevent the default action (scroll / move caret) | ||
+ | });</script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 09:53, 8 September 2014