大图移动问题
var percentX = left / objMark.offsetWidth;
var percentY = top / objMark.offsetHeight;
objBigBoxImage.style.left = -percentX * objBigBoxImage.offsetWidth + "px";
objBigBoxImage.style.top = -percentY * objBigBoxImage.offsetHeight + "px";
这样写好像也能有同样的效果,而且似乎好理解一点,是不是这样会有什么问题呢