2013-07-31 47 views

回答

0

我意识到我不应该使用this.x,而this.y ..它也在IE中返回undefined。

所以不是我用的Jens Fransden的共达和getLeft答案来源与这个岗位的底部: Get the position of a div/span tag

这让我正是我需要在FF和IE浏览器以及Chrome的