Team:Gaston Day School
From 2014.igem.org
(Difference between revisions)
Rgeraghty98 (Talk | contribs) |
Rgeraghty98 (Talk | contribs) |
||
Line 85: | Line 85: | ||
for ( var id in tabLinks ) { | for ( var id in tabLinks ) { | ||
- | tabLinks[id]. | + | tabLinks[id].onclick = showTab; |
tabLinks[id].onfocus = function() { this.blur() }; | tabLinks[id].onfocus = function() { this.blur() }; | ||
if ( i == 0 ) tabLinks[id].className = 'selected'; | if ( i == 0 ) tabLinks[id].className = 'selected'; |
Revision as of 14:36, 10 June 2014
HomeJavaScript tabs partition your Web page content into tabbed sections. Only one section at a time is visible. The code is written in such a way that the page degrades gracefully in browsers that don't support JavaScript or CSS. Teamderp derp derp Project
Derp^3 |