「Line 450〜451」
layMoveX = mouseX - ClickX + nowLayX; layMoveY = mouseY - ClickY + nowLayY;
「Line 453〜454」
if (mouseX <= mXlimit){ layMoveX = mXlimit - ClickX + nowLayX; } if (mouseY <= mYlimit){ layMoveY = mYlimit - ClickY + nowLayY; }
if (isIE5 || isIE6 || isNS6){ el = document.getElementById("Hopup_Message"+LayerNumber); el.style.left = layMoveX; el.style.top = layMoveY; } else if(isNS4) { document.layers["Hopup_Message" + LayerNumber ]. moveTo(layMoveX,layMoveY); }