More actions
mNo edit summary |
mNo edit summary |
||
| Line 166: | Line 166: | ||
frameObj.style.left = ((x - parentPos.x) + _posCorrectionX) + 'px'; | frameObj.style.left = ((x - parentPos.x) + _posCorrectionX) + 'px'; | ||
}else{ | }else{ | ||
if((frameObj.offsetWidth + parentPos.x + | if((frameObj.offsetWidth + parentPos.x + 70) < windowSize.width) { | ||
frameObj.style.left = ((x - parentPos.x) + _posCorrectionX) + 'px'; | frameObj.style.left = ((x - parentPos.x) + _posCorrectionX) + 'px'; | ||
}else { | }else { | ||