Difference between revisions of "Template:Melbourne"

Line 9: Line 9:
 
function scrollFunction() {
 
function scrollFunction() {
 
   if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
 
   if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
     document.getElementById("navbar").style.top = "5px";
+
     document.getElementById("navbar").style.top = "25px";
 
   }
 
   }
  

Revision as of 12:31, 6 October 2018