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", ""); | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
+ | |||
+ | $("#SystemA1").hide(); | ||
+ | $("#SystemA2").hide(); | ||
+ | $("#SystemA3").hide(); | ||
+ | $("#" + tabName).show(); | ||
− | + | ||
− | |||
evt.currentTarget.className += " active"; | evt.currentTarget.className += " active"; | ||
} | } | ||
Line 86: | Line 84: | ||
} | } | ||
− | $("#" + tabName). | + | $("#SystemB1").hide(); |
+ | $("#SystemB2").hide(); | ||
+ | $("#SystemB3").hide(); | ||
+ | $("#" + tabName).show(); | ||
evt.currentTarget.className += " active"; | evt.currentTarget.className += " active"; | ||
} | } |
Revision as of 13:14, 30 October 2017