User:NDX/global.js

/*$.getScript('http://ru.borderlands.wikia.com/index.php?title=MediaWiki:Common.js/pagePreview.js&action=raw&ctype=text/javascript'); */ importArticles({   type: 'script',    articles: [        "u:dev:LinkPreview/code.js","u:dev:ViewRemoved/code.js"    ] });

(function{ var prevY = 0; $(window).on('scroll', function (e) { var posY = $(window).scrollTop; if (prevY < posY) { $('.wds-global-navigation-wrapper').hide } else { $('.wds-global-navigation-wrapper').show }; prevY = $(window).scrollTop; }); });