Difference between revisions of "Template:TecCEM/Menu"

Line 187: Line 187:
 
  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");
 +
                        document.querySelector('.menu-close').classList.add('open');
 +
menuOpen = false;
 
  }
 
  }
 
});
 
});

Revision as of 16:17, 29 August 2021

Untitled Document