similar to: Appended element in a sortable

Displaying 20 results from an estimated 30000 matches similar to: "Appended element in a sortable"

2006 May 24
1
Sortable: Ajax not firing?
Using Rails to generate a sortable list, I get the draggable/sortable page elements, but Ajax never fires back the post-sorted list. (I''ve checked with IE & Firefox, the "save this order to the DB" controller hasn''t been called.) The View: <p>Drag to sort.<span id="sort_info"></span></p> <ul id="sort1">
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 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
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
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
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
2006 Mar 07
1
Sortable trouble
Hi everybody, Could somebody have a look at a little sortable example at http://www.weisshuhn.de/diagnose/sortable.html It implements two Sortables and a Draggable. You can drag elements from the "source" Sortable to the main Sortable, sort them (surprise) and drag them to a trash. Whenever you drag from the "source", a new element is created (by cloning an invisible
2006 Feb 24
0
Newbie Question - Dropping to a Sortable
Hi, I am fairly new to Ajax and script.aculo.us - I have looked into the mailling list archive but could not find a simple enough answer to my problem. I want to allow users to - drag an item from list A and drop to listB, leaving the list A item in place (as in the Drag & drop shop example, http://demo.script.aculo.us/shop) - re-order list B to their needs. I do not want list A to be
2006 May 29
1
Re-orderable column DataGrid + Patches for Sortable.delay and Sortable.ignorePositionXY
I would love to get some feedback and test a patch to rev. 4380. First, the money shot - check out this demo of a scriptaculous DataGrid: http://development.finetooth.com/?p=13 I''m using the <tr> as a sortable with the <th>''s as the sortable elements. The Patch file: http://www.commoner.com/~lsimon/scriptaculous/delay_and_ignorePosition_forSortables.diff The patch
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
2007 Feb 12
0
Scriptaculous - extending draggable via sortable
Hello, I have created a Yahoo style Drag and Drop using Scriptaculous Drag and Drop. I have hooked my custom functions to the Drag and Drop using the following code: new Draggable(element, {revert:true, ghosting:true, handle: handle, onStart: CollectionDragDrop.dragStart, onEnd: CollectionDragDrop.dragEnd, onDrag: CollectionDragDrop.dragMove, reverteffect:
2006 Jun 14
5
Sortable Tree - Stoping Event dispatch ?
Hi, I''m trying to play with sortable tree and have two issues: I have an AJAX Tree looking like: <ul class=''TreeCat'' id=''work''> <li class=''open''> <img src=''s.gif'' class=''node'' onclick="Ajax.Tree.toggle(event,this);"/> <a
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
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 Feb 10
2
Sortable + Draggable : doesn''t follow the mouse horizontally
When a ''draggable'' element is made ''sortable'', it no longer follows the mouse horizontally when you drag it. Is there a solution/workaround? TIA Alain
2005 Jul 20
3
examples of drag n drop
Sorry if this sounds cynical, ( i do love script.aculo.us scripts ) , but I am wondering if people know of some good real world examples of uses of drag n drop and sortable lists. such a cute script will likely be *ab*used as much as it is used. obviously the point here is to use script.aculo.us to improve the user interface rather than just have some k00l eFX. e.g. the drag n drop instantly
2006 Jun 29
0
Sortables question
Hello, I am new to Scriptaculous, and was recently brought into a project using it to create an email Newsletter builder. The idea is that the user will have lists of elements that he can add to the email page by dragging the element he wants to add from an "available sections" container, to a "loaded sections" container. Dragging from the loaded to available will
2006 Apr 11
1
IE Sortable Style Problem
Hi Guys, I am having a problem in IE (tested versions 6 and 7 beta) with sortable divs in a container div with overflow set to scroll. It looks like all of the divs have their position set to relative after the sortable initializes, and also after being dragged. When a div (any element?) has a relative position in a containing div with overflow set to scroll, all of the divs with relative
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
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});