Thanks Richard, Instead of the dragstart and dragstop events, I used the open and close events of the dialog to disable actions on the map, because the map also reacts on the onmousedown event which is fired before the dragstart.
Michiel On Nov 12, 10:39 pm, "Richard D. Worth" <[email protected]> wrote: > My guess is both are binding to the document mousemove event, and responding > to the mousemove based on position, regardless of which is the topmost > element under the mouse. If you have some way to disable the mouse events on > the map, set it to disabled at the beginning of the dialog drag, and set it > back to enabled at the end of the dialog drag. See > > http://docs.jquery.com/UI/Dialog#event-dragStart > > http://docs.jquery.com/UI/Dialog#event-dragStop > > The specifics of how to do that would depend of course on the map. > > - Richard > > On Thu, Nov 12, 2009 at 3:06 PM, Michiel <[email protected]>wrote: > > > > > Hi, > > > I'm using a jquery dialog on top of a map (gis application), when I'm > > dragging the dialog the mouse event is also processed on the map > > (zoom, pan...) > > I want only to drag the dialog and not doing any action on the map. > > Can you help me with this? > > Thanks. > > > -- > > > You received this message because you are subscribed to the Google Groups > > "jQuery UI" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<jquery-ui%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/jquery-ui?hl=.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=.
