offsetX中距控件的位置
x是距IE窗口边的位置

解决方案 »

  1.   

    offsetX Property  Internet Development Index --------------------------------------------------------------------------------Sets or retrieves the x-coordinate of the mouse pointer's position relative to the object firing the event. Syntaxevent.offsetX [ = iCoord ]
    clientHeight Property  Internet Development Index --------------------------------------------------------------------------------Retrieves the height of the object including padding, but not including margin, border, or scroll bar. Syntax