search for: sortables

Displaying 20 results from an estimated 392 matches for "sortables".

Did you mean: portables
2005 Oct 11
8
Sortable as a class?
Hi there! My first post to this list, so first of all many thanks for the amazing Scriptaculous library. I''m currently using it for some nice Ajax effects in Apache Cocoon (http://cocoon.apache.org/). I''m currently struggling with Sortable, which I would like to adapt as the conventions used in Cocoon are different from those currently used. Basically, I would like to send
2006 May 29
1
Re-orderable column DataGrid + Patches for Sortable.delay and Sortable.ignorePositionXY
...e 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 adds two pieces of functionality used in the demo: 1. Sortable- options.delay FunctionalTest: http://www.commoner.com/~lsimon/scriptaculous/test/functional/sortable6_test.html This allows for a draggable to take a delay paramater to delay the "activate" funct...
2005 Aug 05
4
disable Sortable
Can a Sortable be disabled/deactivated/destroyed once it''s been created? I''ve tried a few different things with no success. Here''s what I''m doing: I have an ordered list. When a particular event happens, I created a Sortable from the list. I clone the list prior to creating the Sortable so I can revert to the original list if sorting is canceled. If, however,
2006 May 19
6
Multiple dynamic Sortables
...t list (and before the second list) you would only be able to drag from list 1 to list 2 and not from list 2 to list 1. If it helps, I''m not interested in dragging from one list to another. Just in re-ordering each list as its own entity. Is there any way to not have to destroy all Sortables and then re-create them every time an element is added to a list or a new list comes into being? Any help appreciated! Also, FYI [3] doesn''t work in FF on Linux either. References: [1] http://wiki.script.aculo.us/scriptaculous/show/Sortable.create [2] http://wiki.script.aculo.us/scri...
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 problems. li : the tyniest sortable. sortable between the 4 lists ul : those are th...
2005 Oct 13
6
performance
I''ve got a page I''ve implemented a bunch of observables and sortables. There are around 330 items in the list. The Observables (for hide/show of sublists) don''t seem to impact performance, but the Sortables take a very long time to load when the page is refreshed or submitted--even after accounting for the server-side processing and latency. I'...
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 Jul 17
1
sortable_element - Altering defaults set by rails
Hi there, I''ve got the following code to generate two sortable elements but whenever someone drags and drops an item, i only want it to return a serialised list of the items in categoryartworks, the unlinkedartworks can be in any order and I don''t care. I can then delete those artworks that were in category artworks but aren''t in the serialised list, plus reorder
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
Hi all I am creating sortable list with the builder. Now i want these sortables to be a sortable aswell. So i wrap a div around them and run sortable create on the main-container. I have it like so (simplified): var myLists = new Array(); // start a empty array for push var mainDiv = ''main''; // some already present div to carry all stuff. function newList(...
2007 Aug 27
4
Sortable + Table = Ouch!
I have an HTML table I am trying to "retro-fit" with a sortable such that a cell in one column/row and be moved to another. What I have tried in tyerms of formatting looks akin to: <div id="schedule"> <table> <tr> <td><div id="one">Some Text</div></td> <td><div
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 element) in the "source". There is a pro...
2006 Jul 26
3
Reorder lists only after clicking link
...don''t want the list to be draggable until someone clicks a button (or link) to enable the reordering. My only idea so far is to have the drag handles hidden with javascript and the show them onclick, but this is messy. Is there not a clean way to do this? Is there a way to uncreate a sortables list? (the opposite of the method that creates them. that would solve the problem I think.) -- :// Nathan Herald
2007 Nov 30
2
make sortable divs and innerHTML
My problem is that elements that were included in my site with innerHTML can´t be sortable because the DOM doesn´t know that these elements are there. Has anybody a solution or an idea to this problem? ToM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group,
2006 Mar 23
4
Implementing nested drag and drop using scriptaculous
Hi. I have gone through the scriptaculous wiki. I am trying to implement nested drag and drop but not able to do this. The situation is like this. _____________________________ | abc | => Box1Line1 | cde | => Box1Line2 | efg | => Box1Line3 | h | => Box1Line4
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
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 ,
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first to the second but not from the second to the first. The behavior is consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to 3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the 4th list to anything (besides itself). From the third list I can drag only to itself and 4.
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
2005 Sep 19
0
Sortables and not-Sortables
...the drag handle be the larger content item, but the draggable be a hidden div with my label info, that is shown during the startEffect step. Problem 2 remains for now: The first list (it happens to be a <UL>) is not sortable, but I want to drag to a sortable list. Setting up both lists as Sortables and setting constraints to prevent dragging from the first list to itself (blocking sorting/re-ordering) didn''t work, but would be the neatest workaround. Failing that, I''m left with making Draggables with the first list''s list items, and dynamically adding Sortable m...
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 beh...