Speed up your Oxygen workflow

with Hydrogen Pack

A true Oxygens Editor Enhancer
Starts from $19.99

Show navigation on scroll up

var prevScrollpos = window.pageYOffset;
window.onscroll = function() {
var currentScrollPos = window.pageYOffset;
  if (prevScrollpos > currentScrollPos) {
    var element = document.getElementById("_header_row-335-8");
  	element.classList.add("mystyle");
  } else {
    var element = document.getElementById("_header_row-335-8");
  	element.classList.remove("mystyle");
  }
  prevScrollpos = currentScrollPos;
}

If you need help with custom scripts or you are not skilled enough to implement something from the tutorial?

HIRE ME

Stay up to date with latest post and updates.