SHARE
TWEET

Untitled

a guest Sep 20th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function scrollmenu() {
  2.   if (window.pageYOffset >= sticky) {
  3.     navbar.classList.add("ontop");
  4.     wrapmenu.style.height="55px";
  5.   } else {
  6.     navbar.classList.remove("ontop");
  7.     wrapmenu.style.height="0px";
  8.   }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top