|
|
Linha 18: |
Linha 18: |
| } | | } |
| }); | | }); |
− |
| |
− | /** Navigation popups **/
| |
− | mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript');
| |
− | mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/css', 'text/css');
| |
Revisão das 17h19min de 24 de setembro de 2016
/** Códigos Javascript aqui colocados serão carregados por todos aqueles que acederem à WikiSporting.com **/
/** Tynt Tracking **/
if(document.location.protocol=='http:'){
var Tynt=Tynt||[];Tynt.push('czzJj69Myr4ly6acwqm_6l');Tynt.i={"ap":"Ler mais:"};
(function(){var s=document.createElement('script');s.async="async";s.type="text/javascript";s.src='http://tcr.tynt.com/ti.js';var h=document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);})();
}
/** Solution for sticking footer at bottom in short pages **/
$(document).ready(function() {
var docHeight = $(window).height();
var footerHeight = $('#main-footer').height();
var footerTop = $('#main-footer').position().top + footerHeight;
if (footerTop < docHeight) {
$('#main-footer').css('margin-top', 10+ (docHeight - footerTop) + 'px');
}
});