Difference between revisions of "Template:Wageningen UR/CpxKineticsCSS"

Line 61: Line 61:
 
     for (i = 0; i < tablinksA.length; i++) {
 
     for (i = 0; i < tablinksA.length; i++) {
 
         tablinksA[i].className = tablinksA[i].className.replace(" active", "");
 
         tablinksA[i].className = tablinksA[i].className.replace(" active", "");
         if(tablinksA[i].className == tabName) {$("#" + tabName).toggle();  }
+
         if(tablinksA[i].className == tabName.className) {$("#" + tabName).show();  }
 
     }
 
     }
 
      
 
      

Revision as of 12:51, 30 October 2017