similar to: Sortable.create

Displaying 20 results from an estimated 60000 matches similar to: "Sortable.create"

2007 Nov 02
3
script.aculo.us: onUpdate in Sortable.create
Can''t seem to get the onUpdate to work in for a sortable list. I am following the documentation and the included functional tests but nothing is firing for me. Any idea why? Sortable.create(''list1'', { tree:true , onUpdate:function(sortable){ alert(''onUpdate'') } , handle: ''handle'' , scroll:window ,
2005 Dec 17
0
hoverclass doesn''t seem to be set from Sortable.create
Hey folks, I''m having a little trouble with the hoverclass parameter of the Sortables.create method. Unfortunately I can''t post a demo page at this time, but I''m creating three lists with the following code: Sortable.create("listOne", {dropOnEmpty:true,containment:["listOne","listTwo", "listThree"],constraint:false,
2006 May 28
1
Sortable.create containment:
hi i got a problem with a Sortable.create. i got an array containing the ID of the elements i want to make an sortable of, that is no problem, but i want to be able to drag between the sortables and that where my problem is. i dont know how to assign an array to containment: until now the script looks like this: for (i=0;i<id_gruppe.length;i++) { Sortable.create(id_gruppe[i]
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
2007 Jul 19
1
Storing order of sortable objects in RoR
I have two sortable lists that you can drag and drop to and from. Each object in the lists have a position field in the object''s table. I want to be able to update the position in the database automagically once a user has sorted the list. I can drag and drop just fine but I am not able to store the new positions in the database. I am trying to use Ajax.request in the onUpdate callback
2005 Aug 24
1
Strange Bug - Dragging a sortable filled with sortable - the bigger one "stays"...
*** don''t know if i''ll be clear... if not, tell me Hi. http://favoris.lichenmedia.com/untitled.htm I don''t know why, but when I drag those sortables (tagged with the handle handle) filled with the sortables (the lists with lorem ipsum) The handled-one "stays" where you dropped them. When you drag the li between the uls that are the big containers, no
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
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
2008 Jul 01
2
Sortable, stop event on drop
I''ve got a "Sortable" list that is sorting just fine. But in the list items, there is a link. If you mousedown on the link, drag it to a new location and mouseup, the list gets reordered appropriately, but then the link is followed (you did - after all - click it). Is there a way to either stop the mouseup/click event before activating the link after you''ve dragged
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 Mar 29
0
MaxConnections in IE and Ajax.Request/Sortable
Hi all, IƤve built some functionality in a CMS where you can drag and drop small elements on the page between 2+ panes/containers/divs. Whenever a drag-drop event has occurred (onUpdate) I make a Ajax.Request to save the new layout in the CMS. The code is as follows: in an onload-function: var a = ["subcontent", "main"]; for (var i=0; id=a[i]; i++) { if ($(id)) {
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
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 15
2
Drag and Drop Sortable Tree
I''ve gone through Chad Fowler''s recipe for creating a drag and drop sortable list, and have been trying to extend this to a sortable tree. Has anyone come up with or seen code which allows drag and drop sorting (altering the position and parent_id variables of the relevant objects) but for data in a nested tree rather than a list form? - Justin
2008 Feb 28
0
Sortable scroll offset
I am experiencing a problem with scroll when dragging items to my drop area. I tried using the scroll option, looked through other forum disscussions but I have not been able to find a solution. I have a side by side layout where i drag elements from myTable into dropZone. The workArea div has overflow: scroll enabled. My problem is when the list becomes long and I have to scroll down to get to a
2005 Jul 20
0
Re: Using sortable.
Thomas, I am trying to use the Sortable functionality through a rails implementation. My sortable container looks like this: <div class="thumbnails"> <div class="minus_navigation"> <a href="javascript:Photos.selectPrevious()"> <img alt="Move to previous photo" class="navigation"
2005 Jul 20
0
Using sortable.
Thomas, I am trying to use the Sortable functionality through a rails implementation. My sortable container looks like this: <div class="thumbnails"> <div class="minus_navigation"> <a href="javascript:Photos.selectPrevious()"> <img alt="Move to previous photo" class="navigation"
2005 Aug 08
0
Sortable or dragdrop to move items from one collection to another?
I need to present the user with a collection of players and one to many teams. The user can drag a player to a team or from one team to another. I started out using plain drag-drop, but was having trouble updating both the from list and the to list. E.g. if a player goes from team1 to team2 I need to update both of those divs. I can do the team2 div easy enough, but the player record still
2007 Nov 09
0
iframe is reloading during each sortable drag/drop point
We are creating a simple widget portal for our site and trying to use Sortables. Each of our widgets is an iframe. But when you try to drag an element containing an iframe the Sortables api causes the iframe to reload at each possible drop point. This causes the ui to shutter and become unusable. I have narrowed the issue down the onEmptyHover where dropon.insertBefore is called. Is there a
2006 Nov 24
1
sortable or drag/drop for tables
Is either sortable or drag and drop doable for table elements ? I looked at the wiki and didn''t see anything. Noticed the demos and such are done with <ul><li> ''s I''m wondering about <td> ''s ? TIA Stuart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby