MediaWiki:Common.js: Difference between revisions
From SomLabs Wiki
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
document.onscroll = function(){ | document.onscroll = function(){ | ||
var element = document.getElementById("nxppartner") | var element = document.getElementById("nxppartner"); | ||
if (document.body.scrollTop > 20) | if (document.body.scrollTop > 20) | ||