Team:Goettingen/project overview/diganosis

From 2014.igem.org

(Difference between revisions)
m
m
Line 37: Line 37:
</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 = url5;
 +
        break;
 +
   
 +
 +
        case 39: // right
 +
console.log("right");
 +
window.location = url7;
 +
        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:52, 8 September 2014