Changes

Jump to: navigation, search

MediaWiki:Common.js

355 bytes added, 20:02, 13 May 2017
m
no edit summary
beergarden_link = beergarden_links[beergarden_cycle] /* update link values */
}
 
window.onscroll = function() {
var header_height = document.getElementById("p-advertisement").scrollHeight;
if (window.scrollY > header_height){
 
document.getElementById("p-advertisement").style.position="fixed";
document.getElementById("p-advertisement").style.top="0px";
else{
document.getElementById("p-advertisement").style.position="static";
 
}
}

Navigation menu