随笔分类 - Javascript Helper Methods
摘要:function getPos(el) { if (BrowserHelper.IsIE()) { for (var lx = 0, ly = 0; el != null; ) { lx += el.offsetLeft; ly += el.offsetTop; el = el.offsetParent; } return { x: lx.toString() + "px", y: ...
阅读全文

浙公网安备 33010602011771号