Line 53: | Line 53: | ||
#System1C, #System2C, #System3C { | #System1C, #System2C, #System3C { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | #System1D, #System2D, #System3D { | ||
display:none; | display:none; | ||
} | } | ||
Line 109: | Line 113: | ||
$("#System2C").hide(); | $("#System2C").hide(); | ||
$("#System3C").hide(); | $("#System3C").hide(); | ||
+ | $("#" + tabName).show(); | ||
+ | evt.currentTarget.className += " active"; | ||
+ | } | ||
+ | |||
+ | function openTabD(evt, tabName) { | ||
+ | var i, tabcontent, tablinksD; | ||
+ | |||
+ | tablinksD = document.getElementsByClassName("tablinksD"); | ||
+ | for (i = 0; i < tablinksD.length; i++) { | ||
+ | tablinksD[i].className = tablinksD[i].className.replace(" active", ""); | ||
+ | } | ||
+ | |||
+ | $("#System1D").hide(); | ||
+ | $("#System2D").hide(); | ||
+ | $("#System3D").hide(); | ||
$("#" + tabName).show(); | $("#" + tabName).show(); | ||
evt.currentTarget.className += " active"; | evt.currentTarget.className += " active"; |
Revision as of 10:48, 1 November 2017