Open GoogleCodeExporter opened 8 years ago
Change this.xCord = this.el.cumulativeOff... & this.yCord =
this.el.cumulativeOff... to:
this.xCord =
this.el.cumulativeOffset()['left']-this.el.cumulativeScrollOffset()['left']+docu
ment.viewport.getScrollOffsets()['left']+5;
this.yCord =
this.el.cumulativeOffset()['top']-this.el.cumulativeScrollOffset()['top']+docume
nt.viewport.getScrollOffsets()['top']+this.el.getHeight()-20;
It will fix anything to do with scroll bars. Including the document scroll bar
+ any
parent scroll bars created using overflow:auto/scroll
Kind regards,
Scott
Original comment by vantagewebstudios@gmail.com
on 21 Oct 2009 at 1:50
Original issue reported on code.google.com by
vantagewebstudios@gmail.com
on 20 Oct 2009 at 4:25