Make sure to call .draggable() before whatever binds the click event on the
same element. See these examples:

Draggable binding first captures click
http://jsbin.com/obolu (source: http://jsbin.com/obolu/edit)

Draggable binding last doesn't capture click
http://jsbin.com/onoxu (source: http://jsbin.com/onoxu/edit)

- Richard

On Thu, Nov 19, 2009 at 11:32 AM, Alex.Simon <[email protected]> wrote:

> hi, i've used jquery ui to make the trigger of a overlay(made with
> jquerytools) draggable, but now when i drag the trigger the overlay
> always open. there's a way to make overlay open only when the trigger
> is clicked but not dragged?
>
> http://www.offumac.com/
>
> (i'm really sorry for my bad english :( )
>
> --
>
> 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%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jquery-ui?hl=.
>
>
>

--

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=.


Reply via email to