edisona / flot

Automatically exported from code.google.com/p/flot
MIT License
1 stars 0 forks source link

navigate work in jquery 1.7.2 can't get pageX/pageY #747

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
when zoom plot by mousewheel,current parameter e of onZoomClick is different 
with use jquery 1.7.2 ,work in jquery 1.7.2, e have not some position property.
e.g. 
var c = plot.offset();
c.left = e.pageX - c.left;
c.top = e.pageY - c.top;
result is :c.left=NAN,c.top=NAN

attaches is the screenshot regarding the problem

Original issue reported on code.google.com by zengge1...@gmail.com on 30 Aug 2012 at 2:13

Attachments:

GoogleCodeExporter commented 9 years ago
delta in onMouseWheel equls 0 always 

Original comment by zengge1...@gmail.com on 30 Aug 2012 at 2:40