Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.js: Difference between revisions

MediaWiki interface page
mNo edit summary
mNo edit summary
Line 149: Line 149:
if(_activeTooltipIdx != -1) {
if(_activeTooltipIdx != -1) {
var parentObj = document.getElementById('tooltipframeidx-' + _activeTooltipIdx);
var parentObj = document.getElementById('tooltipframeidx-' + _activeTooltipIdx);
var parentPos = getRelativeCoordinates(e, parentObj);
parentObj.style.left = (x - _posCorrectionX) + 'px';
parentObj.style.left = (x - _posCorrectionX) + 'px';
parentObj.style.top = (y - _posCorrectionY) + 'px';
parentObj.style.top = (y - _posCorrectionY) + 'px';