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 156: Line 156:
frameObj.style.left = ((x - parentPos.x) + _posCorrectionX) + 'px';
frameObj.style.left = ((x - parentPos.x) + _posCorrectionX) + 'px';
}else {
}else {
frameObj.style.left = ((x - windowSize.width) - _posCorrectionX) + 'px';
frameObj.style.left = ((x - parentPos.x) - frameObj.offsetWidth - _posCorrectionX) + 'px';
}
}
frameObj.style.top = ((y - parentPos.y) + _posCorrectionY) + 'px';  
frameObj.style.top = ((y - parentPos.y) + _posCorrectionY) + 'px';