Changes

Jump to: navigation, search

MediaWiki:Common.js

185 bytes added, 18:37, 13 May 2017
m
no edit summary
/* end rotaing banner */
function getOffset(el) {
el = el.getBoundingClientRect();
return {
left: el.left + window.scrollX,
top: el.top + window.scrollY
}
}
 
getOffset(p-advertisement).top
 
/*
document.getElementById("p-advertisement").style.position="sticky";
document.getElementById("p-advertisement").style.top="0px"
*/

Navigation menu