Difference between revisions of "Template:British Columbia 2"

m
m
Line 78: Line 78:
 
}
 
}
  
 +
.test{
 +
  font-size: 4em;
 +
}
  
 
</style>
 
</style>
Line 85: Line 88:
 
function scrollFunction(){
 
function scrollFunction(){
 
     if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) {
 
     if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) {
         document.getElementById("navigation-bar").className = "opaque-nav";
+
         document.getElementById("title").className = "test";
 
     } else {
 
     } else {
         document.getElementById("navigation-bar").className = "";
+
         document.getElementById("title").className = "";
 
     }
 
     }
 
}
 
}

Revision as of 13:58, 3 October 2016

Home

Eagles