Implemented the visibility regulation of the custom document section

This commit is contained in:
Verena Schulz
2026-01-10 19:51:29 +01:00
parent 7bce7c8d36
commit d21bbbce12
2 changed files with 48 additions and 31 deletions
+18
View File
@@ -5,6 +5,24 @@ let currentVideoPath = null;
Functions used in the setup or affect most of the gui
*/
var showCDValue = 0;
function showCD() {
if(showCDValue == 0){
document.getElementById('cdContainer').style.display = "block";
document.getElementById('step1').style.display ="none";
document.getElementById('step2').style.display ="none";
document.getElementById('step3').style.display ="none";
document.getElementById('step4').style.display ="none";
document.getElementById('step5').style.display ="none";
document.getElementById('step6').style.display ="none";
showCDValue = 1;
} else {
currentStep = 1;
showCDValue = 0;
document.getElementById('cdContainer').style.display = "none";
showStep(1);
}
}
//language changing feature => changes the language of every displayed text
function changeLanguage(language) {