Генеральный план
Увеличить
Исходный
Уменьшить
Полный
x: elRect.left - imgRect.left + sizeEl.w/2, y: elRect.top - imgRect.top + sizeEl.h/2 mat.e = filterPos(pos.x, (elRect.width - imgRect.width)); mat.f = filterPos(pos.y, (elRect.height - imgRect.height)); el.title = pos.y + " " + (elRect.height - imgRect.height) + " " + elRect.height + " " + imgRect.height + " " + el.offsetHeight;