Hi i posted this question earlier on how to create a droppable div(New to Ajax), and i have just realised that my code does work, however the function doesn''t work the way I expected it to, I would like my draggable to remain where it was dropped, currently I have a draggable div and a droppable div. I would like to try create a puzzle type game which has a set amount of droppables and an equal amount of draggables, which would make up a 100 piece board. Could anyone who has done something like this please offer me some advice, I would really appreciate it. Scriptaculous, without Ruby, I''m using PHP files. thanks could you also please tell me how i can post to the thread i started and find it again. never used a mailing list before -- Charl Souma IT Helpdesk Consultant Customer Services Department Information and Communication Technology Services University of Cape Town Phone (021) 650 4500 Email csouma-QSQ7Mr1HjGm2A7p0XSazQA@public.gmane.org Important links: Log your own call; Check your calls on HEAT Self Service; Solve your own calls (IT Helpdesk Knowledge Base); ICTS training courses homepage. Please use Internet Explorer to access these links at: http://www.icts.uct.ac.za/links _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Maninder, Singh
2006-Feb-24 14:41 UTC
RE: declaring draggable object that holds it position
I think what you are looking for is Sortables, not draggables. Check this out: http://wiki.script.aculo.us/scriptaculous/show/SortableFloatsDemo Thank you, Mandy. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Actually, sorry to interrupt, Mandy... but I think he''s looking for something like on the Rico demo page, where the draggable objects get placed inside the droppables... http://openrico.org/rico/demos.page?demo=rico_drag_and_drop_simple To the original poster, I''ve tried Rico... it''s slow. But if that''s what you need, Rico is also based on prototype (and to some extent, scriptaculous I believe)... but it supports out of the box what you are trying to achieve. ________________________________ From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Maninder, Singh Sent: Friday, February 24, 2006 8:42 AM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: RE: [Rails-spinoffs] declaring draggable object that holds it position I think what you are looking for is Sortables, not draggables. Check this out: http://wiki.script.aculo.us/scriptaculous/show/SortableFloatsDemo Thank you, Mandy. The information transmitted in this electronic mail is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Seemingly Similar Threads
- sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
- How to make Draggable Widgets with Placeholders
- Draggables and overflow:auto
- Dropables problem on scroll bars
- scriptaculous: Draggable and table rows