On 17 avr, 17:12, "Justin Perkins" <[EMAIL PROTECTED]> wrote:
> My solution worked fine for me. I used it on a page with a bunch of
> links and inside each link was a thumbnail image. I was pleased with
> the results, but did not research if there was *better* ways to
> achieve the goal.
>
> If you look at the complete code example I gave you, I've implemented
> a click event on each draggable item, and this method calls the
> stopScrolling and finishDrag events as needed for clean-up.
>

Ok, as you see, I hadn't tested very well your solution, at first,
sorry.
I haved miss the itemClicked method, which do what the endDrag method
was doing !

So your solution seems fine, thanks !
(BTW, sorry with the search for the *best* solution ever :-), but as
I'm beginning in JS, so I tried to compare the different answers).




--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to