Difference between revisions of "Template:British Columbia 2"

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

Revision as of 14:04, 3 October 2016

Home

Eagles