The first argument of every jQuery UI event callback is 'event'. Check event.originalEvent.ctrlKey to do something different. - Richard
On Wed, Sep 9, 2009 at 10:36 AM, sAvEOUrplAnEt <[email protected]> wrote: > I mean, > - on keydown CTRL + mouse click/select and drag and drop.... open > dialog box A. > Which is different from > - on mouse click/select and drag and drop..... open dialog box B. > > Thanks. > > > On Tue, Sep 8, 2009 at 5:19 PM, Jeffrey Kretz <[email protected]>wrote: > >> >> Issuing? >> >> Do you mean, don't fire the draggable unless the CTRL key is being >> pressed? >> >> I think you'd need to re-write the "handle" option of the draggable to >> detect for event.ctrlKey==true. >> >> Anyone else? >> >> JK >> >> -----Original Message----- >> From: [email protected] [mailto:[email protected]] On >> Behalf Of sAvEOUrplAnEt >> Sent: Tuesday, September 08, 2009 2:52 PM >> To: jQuery UI >> Subject: [jquery-ui] CTRL+Drag/Drop >> >> >> I'm not sure if this is possible, issuing a Control Key (CTRL) before >> click/drag/drop an element. Any help is highly appreciated. >> >> Thanks >> >> >> >> >> > > > -- > MigsAbagat > > > > > --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---
