Team:Freiburg/Templates/html/inlinejs.html
From 2014.igem.org
(Difference between revisions)
m |
|||
Line 5: | Line 5: | ||
// grab navigation links | // grab navigation links | ||
var navLinks = document.getElementsByTagName('nav'); | var navLinks = document.getElementsByTagName('nav'); | ||
+ | if (DEBUG) { | ||
+ | console.log('All found nav elements'); | ||
+ | console.dir(navLinks); | ||
+ | } | ||
if (navLinks.length > 0) navLinks = navLinks[0]; | if (navLinks.length > 0) navLinks = navLinks[0]; | ||
navLinks = navLinks.getElementsByTagName('a'); | navLinks = navLinks.getElementsByTagName('a'); |
Revision as of 17:40, 7 October 2014