Line 58: | Line 58: | ||
var i, tabcontent, tablinksA; | var i, tabcontent, tablinksA; | ||
− | + | tablinksA = document.getElementsByClassName("tablinksA"); | |
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", ""); | ||
− | |||
− | |||
− | |||
} | } | ||
+ | $("#" + tabName).toggle(); | ||
evt.currentTarget.className += " active"; | evt.currentTarget.className += " active"; | ||
} | } | ||
Line 79: | Line 77: | ||
} | } | ||
− | + | $("#" + tabName).toggle(); | |
− | + | ||
− | + | ||
− | + | ||
− | $("#" + tabName). | + | |
evt.currentTarget.className += " active"; | evt.currentTarget.className += " active"; | ||
} | } |
Revision as of 12:49, 30 October 2017