From: <bo...@co...> - 2003-10-19 21:40:54
|
Hi! I see the drag event (the patched version) and I modify a little: in onmousemove function: if(ic && o._useDragIcon) { ic._dragOrg = o; ic.setLocation(o.getPageX(),o.getPageY()); ic.setSize(o.w,o.h); // if icon is fixed width then center at pointer if(ic.w!=o.w||ic.h!=o.h) ic.setLocation(e.getPageX()-(ic.w/2),e.getPageY()- (ic.h/2)); I change the setLocation, setSize and the if to: ic.setLocation(e.getPageX()-(ic.w/2),e.getPageY()-(ic.h/2)); It's work correctily (I think) all system. If not, the icon location is bad. (In Mozilla). Cow |