Difference between revisions of "Template:TecCEM/Menu"

Line 89: Line 89:
 
</div>
 
</div>
 
</div>
 
</div>
 
<div style="background: blue; height: 1900px; padding: 1rem;">
 
 
<p>Loremm ipsum dolor sit amet, consectetur adipisicing elit. Officiis repellat voluptas suscipit veritatis blanditiis sapiente, cumque doloremque dignissimos nisi assumenda nam quasi, mollitia inventore quisquam voluptates a, accusamus fugiat consectetur.</p>
 
</div>
 
 
 
 
</body>
 
</body>
Line 258: Line 253:
 
  if($(document).scrollTop() > 20){//Here 200 may be not be exactly 200px
 
  if($(document).scrollTop() > 20){//Here 200 may be not be exactly 200px
 
document.querySelector(".menu").classList.add("menu_hidden");
 
document.querySelector(".menu").classList.add("menu_hidden");
 +
menuBtn.classList.remove('open');
 +
menuOpen = true;
 
   
 
   
 
  }
 
  }

Revision as of 23:08, 29 August 2021

Untitled Document