Changes

Jump to: navigation, search

MediaWiki:Common.js

431 bytes added, 21:50, 20 August 2017
m
no edit summary
/* end rotaing banner */
 
/* emulate sticky CSS */
if (document.getElementById('p-Matched_content') !=null) {
window.onscroll = function() {
var header_height = document.getElementById("p-Matched_content").scrollHeight;
if (window.scrollY + 330 > header_height){
document.getElementById("p-Matched_content").style.position="fixed";
document.getElementById("p-Matched_content").style.top="0px";
}
else{
document.getElementById("p-Matched_content").style.position="static";
}
}
}
 
if (document.getElementById('p-advertisement') !=null) {
window.onscroll = function() {

Navigation menu