Jump to content

Roman Heidemann

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Roman Heidemann

  • Rank
    Newbie
  • Birthday 08/02/1967

Profile Information

  • Gender
    Male
  1. Roman Heidemann

    Small screen menu not collapsing after click

    Gentlemen, who can help me with the collapsible menu? Thank you
  2. Roman Heidemann

    Small screen menu not collapsing after click

    Hi, I have the same problem as Nickc and I have tried to solve it as Ingolme has offered. Unfortunately I failed. Please tell me where the mistake is. I would be very thankful for help. Below is the script <div class="w3-padding-0 w3-large w3-text-grey" style="font-weight:bold"> <a onclick="myAccFunc()" class="w3-button w3-block w3-white w3-left-align"> Наши проекты <i class="fa fa-caret-down"></i></a> <div id="demoAcc" href="javascript:void(0)" class="w3-bar-block w3-hide w3-padding-large w3-medium"> <a href="http://тетрадкадружбы.заботадетям.рф" class="w3-bar-item w3-button w3-light-grey"><i class="fa fa-caret-right w3-margin-right"></i>Тетрадка дружбы</a> <a href="http://стритбол.заботадетям.рф" class="w3-bar-item w3-button w3-light-grey"><i class="fa fa-caret-right w3-margin-right"></i>Стритбол</a> <a href="http://даридобро.заботадетям.рф" class="w3-bar-item w3-button w3-light-grey"><i class="fa fa-caret-right w3-margin-right"></i>Дари добро</a> <a href="http://домребенка.заботадетям.рф" class="w3-bar-item w3-button w3-light-grey"><i class="fa fa-caret-right w3-margin-right"></i>Дом ребенка</a> <a href="http://времяцветов.заботадетям.рф" class="w3-bar-item w3-button w3-light-grey"><i class="fa fa-caret-right w3-margin-right"></i>Время цветов</a> </div> <a href="http://помочь.заботадетям.рф" class="w3-bar-item w3-button">Как помочь</a> <div id="navDemo" href="javascript:void(0)"> <a onclick="openNav()" href="#about" class="w3-bar-item w3-button">О нашем фонде</a> <a onclick="openNav()" href="#mission" class="w3-bar-item w3-button">Миссия фонда</a> <a onclick="openNav()" href="#docs" class="w3-bar-item w3-button">Учредительные документы</a> <a onclick="openNav()" href="#team" class="w3-bar-item w3-button">Координаторы</a> <a onclick="openNav()" href="#rewards" class="w3-bar-item w3-button">Благодарности</a> <a onclick="openNav()" href="#contact" class="w3-bar-item w3-button">Контакты</a> </div> </div> <script> // Accordion function myAccFunc() { var x = document.getElementById("demoAcc"); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } // Script to open and close sidebar function w3_open() { document.getElementById("mySidebar").style.display = "block"; document.getElementById("myOverlay").style.display = "block"; } function w3_close() { document.getElementById("mySidebar").style.display = "none"; document.getElementById("myOverlay").style.display = "none"; } // Used to toggle the menu on smaller screens when clicking on the menu button function openNav() { var x = document.getElementById("navDemo"); if (x.className.indexOf("w3-show") == -1) { x.className += " w3-show"; } else { x.className = x.className.replace(" w3-show", ""); } } </script>
×