Difference between revisions of "Template:British Columbia 2"

m
m
Line 87: Line 87:
  
 
function scrollFunction(){
 
function scrollFunction(){
     if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) {
+
     if (document.body.scrollTop > 339 || document.documentElement.scrollTop > 339) {
         document.getElementById("title").className = "test";
+
         document.getElementById("navigation-bar").className += "opaque-nav";
 
     } else {
 
     } else {
         document.getElementById("title").className = "";
+
         document.getElementById("navigation-bar").className += "";
 
     }
 
     }
 
}
 
}

Revision as of 14:03, 3 October 2016

Home

Eagles