similar to: Newbie Question - Dropping to a Sortable

Displaying 20 results from an estimated 5000 matches similar to: "Newbie Question - Dropping to a Sortable"

2006 Mar 01
0
Script.aculo.us: Dynamic Sortable List Problems
This is my first post to this mailing list so I hope its in the right location.I''m trying to use a list of draggables (not sortable) which I can drag into a droppable div. The goal is to create a new item, not to move from one list to the other. When a new draggable is dropped, a new div is added to the droppable div and a sortable is created. Everything is working fairly well, to
2006 Feb 27
4
Getting nuts with sortables...
Folks, It has been a whole day spent on this but I still can''t get my mind around the most probably very stupid/basic mistake here... First, the code I use: <h3>List A</h3> <ul id="lista" > <li id="item1"> Item 1</li> <li id="item2"> Item 2</li> <li id="item3"> Item 3</li> </ul>
2006 Nov 24
1
sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
Hi all. I have specific situations - I use sortable on html list, and after I move elements I want to do ajax reqeust to serwer with the id of dragging element and id of the element that was droppable. How to do it? which function in Sortable class i have to overrider or modify? i try to modife onhover method in sortable and put a ajaxRequest call before methods dropon.parentNode.insertBefore
2005 Jul 07
2
Allowing drops on "empty" sortable
Hey folks, On the Drag and Drop demo page in the Sortable Lists Demo section: http://script.aculo.us/drag-and-drop If you drag all of the items from the first list into the second list, it appears that you cannot drag a list item back into the first (now empty) list. Is there a way to allow a Sortable that is empty of draggable items to accept dropped items? Danilo
2006 Mar 21
0
Question for Gurus: Sortable Lists
I''ve been stuck on this particular problem for quite some time now. If I don''t explain it well enough I''d be happy to explain more. I have a group of draggables and a droppable object. I''ve created a function for the Droppable.onDrop event so when I drop one of these items I check (via an array) to see if it has already been added to the droppable. If it
2006 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my question is similar in the regards that i don''t want my application to send multiple requests. i have 2 sortabbles lists left, and right. when i move an item from left to the right the onUpdate callback will send 2 ajax requests. one for each sortables. however. i want it to serialize and send back the results from
2006 May 19
0
Sortable - observing outside of the container
I''m wondering if anyone''s come up with a way to somehow make a Sortable look at X or Y position relative to the droppables so that the mouse doesn''t have to be over the container for the droppable to fire. For instance, take functional Sortable test #1. Grab Item #3 and then slide the mouse over to the left, past the dot (essentially outside of the <ul>). Now
2005 Jul 25
5
dragdrop.js: drop from sortable
I have a Sortable that''s working like a charm, but now I would like to be able to drop objects from that Sortable onto a Droppable that''s not part of my Sortable. I just did a small test page where it didn''t work, so my first question has to be "is this supposed to work?", before I dig too deep into it. "accept" for the droppable is set to the
2006 Feb 01
1
Sortable onUpdate problem
Hi, I have two sortables with different options (but same tags. just ''li''). When I drag an item from sortable1 to sortable2 I want it to gain the options that the sortable2 items have. I''ve tried all day to understand how Draggables and their observers are destroyed but I keep gettting buggy behavior. Part of the problem is the draggable and the draggableObserver are
2005 Sep 18
0
Sortable Dropable, Dragable
I''m trying to create an application where you pick from a list of items to add to an album. Once in the album they can be sorted or removed. I''ve run into nothing but bugs trying to get this to work. I currently have each item draggable in the list. Once it is dragged onto the album rails takes over and adds the id to an array and renders the album partial. All of the items
2007 Oct 23
0
drag'n'drop or sortable
Hi, I''m a newbie and have a little problem getting into scriptalicious: I''d like to convert the items of a drop down list into draggable objects - they should be only draggable but not sortable. They should be draggable onto another box but in there the items should be automatically sorted by the numerical id''s and not sortable by the user. I looked through all the
2005 Jul 14
1
Dropping on empty script.aculo.us sortable lists
I have a need to have two sortable lists with the ability to cross drop items between the list. I am using the script.aculo.us<http://script.aculo.us>library. All is well until I empty one of the lists completely out, at which time I cannot drop anything in to the empty list. I have used CSS to set the height of the <UL> so I have a large target to drop on. In my efforts to make it
2006 Apr 16
0
Sortable
I have 3 sortables, namely lista, listb and listc. Lista being a static list of items and will be drag n drop to listb and listc. Everytime I drag from lista to either listb or listc, the items in lista will be removed. Is that normal? If so, can anyone advice how can I maintain the items in lista so that I can have duplicate items in listb and listc. I am using rails for the development.
2005 Jul 26
0
re: sortable tree :)
> I haven''t looked too much at the actual code, but there is a > SortableTree Class coming soon to script.aculo.us, I have been > working on it here and there for about 2 weeks now and it is > working very nicely in all browsers and most performance issues > have been worked out. the tree is also collapsible! Thanks! this is (almost) exactly what I have been
2007 Jul 05
1
onDrop don't fires
Hi! As in http://groups.google.es/group/rubyonrails-spinoffs/browse_thread/thread/bbd975bac3be748a?hl=es I have some problems with onDrop on a Droppable Instead of he I have only a sortable list with draggable elements (I make the list sortable and every element draggable) I try two forms: onDrop: Borrar where Borrar is something like: Borrar = function () { my code here } an onDrop:
2005 Sep 19
5
accept on Sortable
Hi all, I am working on a Google Suggest Like thing, where you can add / remove, drag n drop ... mini-apps, it is nearly done but I need some advices (here it is if you want to check it : http://dev.karibou.org/default/edit ). I am using Sortables, is it the best way to do it ? I needed to modify the Serialize function cause I didn''t like the way I had to id my elements. Sorry, the
2008 Jul 02
1
Stop sortable dop event
Hi! I have a sortable list Every item in this list has a droppable area In this area I could drop some elements of the same list Everything is ok except I need to stop the sortable event when I drop an item in the droppable area Is this possible? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby
2005 Jul 25
8
My try on nested sortables
Hello, please take a look at http://test.reasonmaker.com/sort/ where I made some hacks to allow for nested sortables. I need a hierarchical, sortable list, so I hacked away. It generally works quite nicely, but: ( - The code needs my debug stuff and failed attempts removed ) - The code needs to be adapted to also work with vertical sortables. It probably breaks vertical sortables.
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
hi i think my example is very simple and straightforward so i''m not sure if it meets your needs (change revert:true to revert:false from a draggable after I drop it on a droppable so it doesn''t return to its original place.) i did this # 2 divs created here <script language="javascript"> new Draggable(''drag'', {revert: false});
2005 Dec 28
3
Sortable - can we make one or more elements in a list sticky?
In a sortable list, is there a way to say, pass a className whereby some of the elements in the sortable element would not become draggables/droppables? If not, it seems like it could be implemented similarly to the handle option.. Any interest? Also - I submitted a patch that adds the option "delay" so that draggables in a Sortable won''t truly become activated until after the