MediaWiki:Mobile.js: Difference between revisions
no edit summary
Johnrdorazio (talk | contribs) (Created page with "→Any JavaScript here will be loaded for users using the mobile site: (function($,mw){ $(document).ready(function(){ if( $('.bibleQuoteRef').length > 0 ){ //console.l...") |
Johnrdorazio (talk | contribs) No edit summary |
||
Line 28: | Line 28: | ||
$span.on('tap', function(){ | $span.on('tap', function(){ | ||
let toppos = ($(window).height()/2) - ($bGetTIP.height()/2); | |||
let leftpos = ($(window).width()/2) - ($bGetTIP.width()/2); | |||
$bGetTIP.show(); | $bGetTIP.show(); | ||
$bGetTIP.css("top", toppos).css("left",leftpos); | |||
}); | }); | ||