More actions
mNo edit summary |
mNo edit summary |
||
| Line 101: | Line 101: | ||
var _tooltipFrameClassName = 'uniwiki-tooltip-frame'; | var _tooltipFrameClassName = 'uniwiki-tooltip-frame'; | ||
var _activeTooltipIdx = -1; | var _activeTooltipIdx = -1; | ||
var _posCorrectionX = | var _posCorrectionX = 550; var _posCorrectionY = 150; | ||
function checkElementByClassComp() { | function checkElementByClassComp() { | ||
if (document.getElementsByClassName == undefined) { | if (document.getElementsByClassName == undefined) { | ||
| Line 149: | Line 149: | ||
if(_activeTooltipIdx != -1) { | if(_activeTooltipIdx != -1) { | ||
var parentObj = document.getElementById('tooltipframeidx-' + _activeTooltipIdx); | var parentObj = document.getElementById('tooltipframeidx-' + _activeTooltipIdx); | ||
parentObj.style.left = (x - _posCorrectionX) + 'px'; | parentObj.style.left = (x - _posCorrectionX) + 'px'; //500 | ||
parentObj.style.top = (y - _posCorrectionY) + 'px'; | parentObj.style.top = (y - _posCorrectionY) + 'px'; //105 | ||
} | } | ||
return false; | return false; | ||