Hello all.
I'm having a draggable pane AND a click event on li elements inside my
scrollpane:
-------------------------------------------------
$("#scrollpane").draggable({
        containment: [-1250, -1500, 85, 230],
                drag:(function(sync){
                                           yy=$(this).offset();
                                           $("#chanbar").css({"top":(yy.top - 
230)});
                                           })
});
----------
later on
----------
    $("#scrollpane ul#channame li").click(expand);
-------------------------------------------------
each time i'm dragging #scrollpane, i'm firing the expand() fonction.

I want to prevent the click() firing while dragging: scrollpane is
full of different LI elements; and the click should only be fired when
drag is over

Could you please help me achieving so?
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]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to