[jQuery] Re: Generating a Mousedown event programmatically - similar to click() generation..

2008-02-08 Thread B
worked like a charm :) Thanks On Feb 4, 7:05�pm, edwardbaafi <[EMAIL PROTECTED]> wrote: > Here's an example using the hacked source that starts dragging one > element when you click (mousedown) on another element. Notice the null > value passed as the undocumented "fn" parameter: > > http://www.

[jQuery] Re: Generating a Mousedown event programmatically - similar to click() generation..

2008-02-04 Thread edwardbaafi
Hi B, I would think this is an important feature so the fact that you are looking to do the same thing means I am not alone.. I'd like to submit this as a feature but am still trying to figure out the state of trigger's undocumented parameter "fn": http://groups.google.com/group/jquery-en/browse

[jQuery] Re: Generating a Mousedown event programmatically - similar to click() generation..

2008-02-04 Thread edwardbaafi
Here's an example using the hacked source that starts dragging one element when you click (mousedown) on another element. Notice the null value passed as the undocumented "fn" parameter: http://www.w3.org/1999/xhtml";> Programmatic Draggable $(document).ready(function(){

[jQuery] Re: Generating a Mousedown event programmatically - similar to click() generation..

2008-02-04 Thread B
Hi, I am trying to also trigger the draggable from within a javascript function. If possible can you please share your source hack. Thanks On Jan 29, 2:49 pm, edwardbaafi <[EMAIL PROTECTED]> wrote: > >http://docs.jquery.com/Eventshas mousedown, mouseup, mousemove, etc > > Yes, you are able to t

[jQuery] Re: Generating a Mousedown event programmatically - similar to click() generation..

2008-02-04 Thread B
Hi, I am having the same problem with triggering the draggable from a javascript function. If possible could you please share your source hack? Thanks On Jan 29, 2:49 pm, edwardbaafi <[EMAIL PROTECTED]> wrote: > >http://docs.jquery.com/Eventshas mousedown, mouseup, mousemove, etc > > Yes, you a

[jQuery] Re: Generating a Mousedown event programmatically - similar to click() generation..

2008-01-29 Thread edwardbaafi
> http://docs.jquery.com/Events has mousedown, mouseup, mousemove, etc > Yes, you are able to trigger these events using "trigger( type, data )", but what about setting the event properties? In my case, when an element is "draggable" and it's mousedown event fires, the click function in ui.mouse

[jQuery] Re: Generating a Mousedown event programmatically - similar to click() generation..

2008-01-29 Thread Glen Lipka
http://docs.jquery.com/Events has mousedown, mouseup, mousemove, etc Also check out the plugins for "draggables" in UI. http://docs.jquery.com/UI Glen On Jan 28, 2008 1:49 PM, edwardbaafi <[EMAIL PROTECTED]> wrote: > > Hi.. > > Does anyone know how one could generate a mousedown event > program