Team:Gaston Day School

From 2014.igem.org

(Difference between revisions)
Line 85: Line 85:
       for ( var id in tabLinks ) {
       for ( var id in tabLinks ) {
-
         tabLinks[id].onclick = showTab;
+
         tabLinks[id].onhover = 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:33, 10 June 2014

Home Team Official Team Profile Project Parts Modeling Notebook Safety Attributions Measurement Track

Home

JavaScript 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.

Team

derp derp derp

Project

Derp^3