similar to: Adding sortables dynamically

Displaying 20 results from an estimated 6000 matches similar to: "Adding sortables dynamically"

2005 Jul 21
3
Question about sortables
Hi, I''m trying to use sortables to sort table rows and move them between different tables (yes, it''s actual tabular data ;). However, either I don''t know how to use the tag property of Sortable.create properly, or it''s only working for li''s. Since it''s probably the first option, could someone post an example of sorting tr tags and move them
2005 Dec 05
3
Multi-level drag and drop in scriptaculous?
I am trying to create a screen like Google''s personalized home pages or start.com, i.e., with draggable sections, with the extra feature that the child items under the parent headings could be dragged and dropped from one parent heading to another. I have set up nested droppable sortables (dropOnEmpty=true) but the behavior is very inconsistent, i.e, parents do not become droppable
2005 Dec 08
3
Uncomplete hiding on Firefox 1.5
Hi all, I have observed the following on Firefox 1.5 (both on XP and OSX): My page has some div containers that hold sortable ul. The div's also contain links for showing/hiding the contained ul's. No matter which effect I use to do the hiding and showing (Fade/Appear, SlideUp/Down, BlindUp/Down) the hidden ul's don't hide completely, leaving a blank 'trace' behind.
2005 Dec 08
3
Choppiness in FF v1.5
Hey all, I''ve got an interesting one for anyone who''s up for a challenge. Essentially, I have a very choppy effect, that almost looks like timeouts are overloaded or interfering or something, that only occurs when sortables are on the same page as "standard" effects. Here''s what I''m doing: I have a menu that slides in and out on the right side of
2005 Oct 04
5
sorting
I just want to confirm that it''s *not* possible to sort <tr>s in tables.... Jamie
2006 Jan 23
8
question about Sortables
So, is there any way to specify a sortable to only do a callback when the dragged item is dropped? As it is, the onChange is called whenever you move the draggable to a new element (even if you don''t drop it), but I''d rather only call my function after they drop it to avoid unnecessary additional server calls. It looks like Droppable supports an ''onDrop'', but
2006 Feb 17
2
Add new lists to existing sortables container
Hi All, I''m using scriptaculous for the first time. I''m creating a CMS where the user can simply drag menu items to change the order. This is all simple enough. My problem comes with nested menus. The sortables are fine within their own menu but not across other new menus. The reason for this is that I''m using AJAX and only create a sub menu when it''s parent
2006 Jun 12
5
scriptaculous & sortables/draggables scrolling?
Re, Would anyone happen to know how to make sortable/draggable scroll down the page while moving the object if the page happens to be larger than the screen size? These functions seem to work only within the visible working space. Right now I have workaround whereby I have an omnipresent DIV on the screen to which I drop an element, then scroll down in the browser to a certain point, and then
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 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 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>
2005 Jan 25
4
Collection_select with multiple options
Hi, I have built a select field that allows multiple options selected with collection_select and "multiple"=>"multiple". How do I go about receiving the values? If I use a variable name like collection[], it complains that I can''t use @collection[] as the instance variable. TIA victor
2005 Oct 27
4
Nest sortables?
Hello All, I''m wondering if it''s possible to nest sortables: <ul id="first"> <li>One</li> <li>Two</li> <li> <ul id="second"> <li>Three</li> </ul> </li> <li>Four</li> </ul> <script> ... create sortables out of
2006 Jun 14
3
sortables and onClick events firing
I have a page that I have been tasked with adding sortable support to, and the div elements that are being dragged have a <a href> in them with an onClick handler that opens a new window with a preview. Is there a way to keep that onCLick from firing when a sortable is dropped? Sam D _______________________________________________ Rails-spinoffs mailing list
2006 May 19
6
Multiple dynamic Sortables
I''m writing an appliation that contains several dynamically created lists. I had hoped that the following method for using the Sortable library from scriptaculous would work: 1) create the list 2) create a Sortable for it 3) create another list 4) create a Sortable for it and so on. Unfortunately this doesn''t work. I can''t find any info in the documentation for
2005 Jul 13
2
A small question about dragging effect on sortables
Hello, I''m implementing sortables in Rails and I can''t seem to get the lovely effect from the Sortable Floats Demo on Thomas'' wonderful site: http://script.aculo.us/drag-and-drop#sortable-floats-demo Simply put, I can''t get the effect whereby you''re dragging the image. When I have a vertical or horizontal constraint on a list, the effect
2006 Mar 01
9
sortable tree?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi *, I am new to this list, so please excuse me if this has been covered before (unfortunately the search function at http://www.ruby-forum.com/forum/10 is disabled at the moment). If yes, then a pointer to a solution would be great. I want to create a sortable tree with scriptaculous Sortable. There are several categories and subcatgories: cat_a
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
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 Sep 27
3
Too much recursion
Hey Guys, I''ve just encountered this error in Firefox will I pulled the latest scriptaculous rc into project. Sadly, I don''t have a linkable page for you to look over at the point. My question is what is this error exactly? My code before this never got it but now it does. My few searches suggest it''s the browsers way of keeping infinite loops from happening