ploufy ploufy
2005-Jun-29 07:48 UTC
[Rails-spinoffs] Pb : keep the coordinates after drag and drop
Hi, I''m coding a shopping cart using your effects library. There are 2 parts in my page. On the left the list of my products and on the right the shopping cart. I can sort dynamically my products (by price, title, etc...) . I have a problem when I do a sort, and I want to drag a product. My system keep the initial position of each product. The products moves correctly after the sorting but when I click on one of them, the item moves directly on its initial position and I can drag and drop the item. Is there a way to update the position of my products after each sort? Each product is in a <div>, and I move the <div> with the MoveBy function. Thanks by advance and congratulations for your job!!!!! --------------------------------- Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger T?l?chargez le ici ! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050629/764a7cc3/attachment.html