dougal85-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-02 20:39 UTC
adding a second draggable stops the first working
Any ideas why this would be? I can post code if you want... but its basically an example i got off the script.aculo.us website. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Walter Lee Davis
2007-Apr-02 20:43 UTC
Re: adding a second draggable stops the first working
When you create the second one, are you using the ''new'' keyword? var foo = new Draggable(...) Walter On Apr 2, 2007, at 4:39 PM, dougal85-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> > Any ideas why this would be? > > I can post code if you want... but its basically an example i got off > the script.aculo.us website. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
dougal85-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Apr-16 16:26 UTC
Re: adding a second draggable stops the first working
Yes, I am using the new keyword. I have a div object, and i make instances of that object. then a function in that object when its initialised makes itself draggable. Dougal On Apr 2, 9:43 pm, Walter Lee Davis <w...-HQgmohHLjDZWk0Htik3J/w@public.gmane.org> wrote:> When you create the second one, are you using the ''new'' keyword? > > var foo = new Draggable(...) > > Walter > > On Apr 2, 2007, at 4:39 PM, douga...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > > > Any ideas why this would be? > > > I can post code if you want... but its basically an example i got off > > the script.aculo.us website.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---