var acc = document.getElementsByClassName("accordion"); var i; for (i = 0; i < acc.length; i++) { acc[i].addEventListener("click", function() { this.classList.toggle("active"); var subMenu = this.nextElementSibling; if (subMenu.style.maxHeight) { subMenu.style.maxHeight = null; position_var = false; pointsoe = " " } else { subMenu.style.maxHeight = subMenu.scrollHeight + "px"; } }); } function nordbahnview(){ var viewp = vcs.vcm.Framework.getInstance().viewpoints.NordBView vcs.vcm.Framework.getInstance().getActiveMap().gotoViewPoint(viewp); // document.getElementById("UmfrageOne").style.display = "none"; // document.getElementById("NordbahnhofInfo").style.display = "block"; // document.getElementById("Navigation").style.display = "none"; // document.getElementById("projektOne").style.display = "none"; // document.getElementById("Energiekonzept").style.display = "none"; // document.getElementById("IntroProj").style.display = "none"; // document.getElementById("Expertenmodus").style.display = "block"; showgraph(); } function akkustikview(){ var viewp = vcs.vcm.Framework.getInstance().viewpoints.NoiseView vcs.vcm.Framework.getInstance().getActiveMap().gotoViewPoint(viewp); } function MobilityView(){ var viewp = vcs.vcm.Framework.getInstance().viewpoints.MobilityView vcs.vcm.Framework.getInstance().getActiveMap().gotoViewPoint(viewp); } var expstate = false; function onoff(){ if(expstate == false){ // var element = document.getElementById("menustuff"); // element.classList.remove("hidden"); expstate = true; }else{ // var element = document.getElementById("menustuff"); // element.classList.add("hidden"); expstate = false; } } function addcont(content){ var bilderstuff = '
' + '
'+ '
1 / 17
'+ ''+ '
Grafik
'+ '
'+ '
'+ '
2 / 17
'+ ''+ '
Böckinger Straße
'+ '
'+ '
'+ '
3 / 17
'+ ''+ '
Holzwerkstatt
'+ '
'+ '
'+ '
4 / 17
'+ ''+ '
Infoabend im Garten
'+ '
'+ '
'+ '
5 / 17
'+ ''+ '
Interviews in der Nachbarschaft
'+ '
'+ '
'+ '
6 / 17
'+ ''+ '
Offene Bauwerkstatt
'+ '
'+ '
'+ '
7 / 17
'+ ''+ '
Offene Bauwerkstatt
'+ '
'+ '
'+ '
8 / 17
'+ ''+ '
Offene Bauwerkstatt
'+ '
'+ '
'+ '
9 / 17
'+ ''+ '
Planungsgebiet Choreographie
'+ '
'+ '
'+ '
10 / 17
'+ ''+ '
Planungsgebiet Vogelperspektive
'+ '
'+ '
'+ '
11 / 17
'+ ''+ '
Spielekiosk
'+ '
'+ '
'+ '
12 / 17
'+ ''+ '
Gartenkiosk
'+ '
'+ '
'+ '
13 / 17
'+ ''+ '
Outdoorkiosk
'+ '
'+ '
'+ '
14 / 17
'+ ''+ '
Outdoorkiosk
'+ '
'+ '
'+ '
15 / 17
'+ ''+ '
Infokiosk
'+ '
'+ '
'+ '
16 / 17
'+ ''+ '
Workshop Cafe Tas
'+ '
'+ '
'+ '
17 / 17
'+ ''+ '
Workshop Cafe Tas
'+ '
'+ ''+ ''+ ''+ '
'+ '
' var heatdem = '
' var nordbstuff = "" + "
"+ "
"+ "Neue Planung"+ "

"+ "
"+ "Ist Zustand"+ "

"+ "
"+ "

Highlight          

"+ ""+ ""+ ""+ "
"+ "
"+ "
"+ "

Wärmebedarf  

"+ ""+ ""+ ""+ "
"+ "
" var nordbstuff2 = "" + "
"+ "
"+ "Neue Planung"+ "

"+ "
"+ "Ist Zustand"+ "

" heatdemVal01 = 100 heatdemVal02 = 200 heatdemVal03 = 300 heatdemVal04 = 400 if (content == "main_bock"){ var bilder = document.getElementById('bilder_bock') var other = document.getElementById('bilder_bock2') other.innerHTML = "" bilder.innerHTML = "" bilder.innerHTML = bilderstuff showSlides(1, 0); showSlides(1, 1); } else if (content == "main_bock2"){ var bilder = document.getElementById('bilder_bock2') var other = document.getElementById('bilder_bock') other.innerHTML = "" bilder.innerHTML = "" bilder.innerHTML = bilderstuff showSlides(1, 0); showSlides(1, 1); } else if (content == "main_heatdem"){ var heatdemand = document.getElementById('main_heatdem') // var other = document.getElementById('main_heatdem2') // other.innerHTML = "" heatdemand.innerHTML = "" heatdemand.innerHTML = heatdem } else if (content == "main_heatdem2"){ var heatdemand = document.getElementById('main_heatdem2') var other = document.getElementById('main_heatdem') other.innerHTML = "" heatdemand.innerHTML = "" heatdemand.innerHTML = heatdem } else if (content == "main_nordbstuff"){ var nordb = document.getElementById('nordbplanung') var other = document.getElementById('nordbplanung2') other.innerHTML = "" nordb.innerHTML = "" nordb.innerHTML = nordbstuff } else if (content == "main_nordbstuff2"){ var nordb = document.getElementById('nordbplanung2') var other = document.getElementById('nordbplanung') other.innerHTML = "" nordb.innerHTML = "" nordb.innerHTML = nordbstuff2 } // Thumbnail image controls // function currentSlide(n) { // showSlides(slideIndex = n); // } }; var slideIndex = [1,1]; var slideId = ["mySlides1", "mySlides2"] // Next/previous controls function plusSlides(n, no) { showSlides(slideIndex[no] += n, no); } function showSlides(n, no) { var i; var x = document.getElementsByClassName(slideId[no]); if (n > x.length) {slideIndex[no] = 1} if (n < 1) {slideIndex[no] = x.length} for (i = 0; i < x.length; i++) { x[i].style.display = "none"; } x[slideIndex[no]-1].style.display = "block"; } function currentSlide(n) { showSlides(n, 0); } var slideIndexNord = 1; showSlidesNord(slideIndexNord); // Next/previous controls function plusSlidesNord(n) { showSlidesNord(slideIndexNord += n); } // Thumbnail image controls function currentSlideNord(n) { showSlidesNord(slideIndexNord = n); } function showSlidesNord(n) { var i; var slides = document.getElementsByClassName("mySlidesNord"); var dots = document.getElementsByClassName("dotNord"); if (n > slides.length) {slideIndexNord = 1} if (n < 1) {slideIndexNord = slides.length} for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" activeNord", ""); } slides[slideIndexNord-1].style.display = "block"; dots[slideIndexNord-1].className += " activeNord"; }