Difference between revisions of "Template:Melbourne"

Line 10: Line 10:
 
   if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
 
   if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
 
     document.getElementById("navbar").style.top = "0";
 
     document.getElementById("navbar").style.top = "0";
  } else {
 
    document.getElementById("navbar").style.top = "-20px";
 
 
   }
 
   }
 
}
 
}

Revision as of 12:24, 6 October 2018