similar to: re: sortable tree :)

Displaying 20 results from an estimated 1000 matches similar to: "re: sortable tree :)"

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 Jun 16
1
sortable acts_as_tree with heirarchy
I''ve been stumbling on the tut at oriontransfer (http://wiki.oriontransfer.co.nz/main/show/SortableTree) I''ve got it working in a one dimensional list and I''ve got the drag and drop working on children, but as can''t get it to save the tree. Here''s my view: <h2>Menu Prototype 2</h2> <%= flash[:notice] %> <ul
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 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
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
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 Apr 24
1
dragdrop.js problems - workaround here
Hello, I am not sure how many people are using the shiny new tree version of dragdrop.js - well it seems that someone arbitrarily changed part of my implementation and has broken the functionality with rails: 864 serialize: function(element) { 865 element = $(element); 866 var options = Object.extend(Sortable.options(element), arguments[1] || {}); 867 var name =
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
2007 Apr 13
2
Sortable - Droppable interaction
Hi there, I''m started to use scriptaculous yesterday and it''s really great. Hovever, there is one problem that I cannot solve: I have a page with a sortable list and a droppable "trash can". I would like to drag and drop items between the list and the trash can, but it don''t work. Which options should I set to make it works correctly? Thanks!
2005 Jul 22
0
re: Questions about sortables
>>Sorry to say, but drag-and-drop doesn''t work for table rows because >>of browser limitations. No workarounds for this. not really a table-workaround, per se, but I got a table-like appearance by including styled <span> elements inside the <li> entries. Here''s a sort of trivial example from playing around with Sortables: <style
2005 Nov 18
0
Passing "accept" option through a Sortable
Hi All, I''m attempting to tweak Scriptaculous 1.5R4 to provide the ability to pass the "accept" option through the Sortable.create(...) call to the enclosed Droppable(s). I''m far from a JavaScript expert (Scriptaculous & AJAX have convinced me to finally start learning), so I''m kinda fumbling in the dark here. Thus far I''ve made two
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 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
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 Jun 05
1
Discussion on drag-drop-and-sortable
No rocket science on the surface, but there is something slightly clever happening here - note that the green scriptaculous draggables take on a different CSS class or something when they''re moved over the right hand droppable. This warrants a look under the hood ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2006 Jun 21
7
sortable tree problem
Hello, I''m having a problem when I set the tree option to true on Sortable. If I set the option to false my remote call works fine, but once I set it to true, I get some weird log errors from Webrick... undefined method `update'' for "11":String /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/cgi_methods.rb:214:in `build_deep_hash''
2005 Jul 28
1
Nested, sortable list-items - works as expected in IE, not Mozilla Firefox
Hello all. First, thank you for a great library! I would like to have nested lists that are sortable. I found that I needed to add the "handle" option, which is fine. However, Firefox doesn''t drag any child (nested) lists along with the parent. Internet Explorer seems to work just fine. Here is my test page: http://www.dynamiteweb.com/sorttest/test_drag_lists.html I did
2006 Mar 09
0
[FEATURE] Effect.Accordion
Hey guys Attached is probably the final version of my Effect.Accordion. I don''t know how it compares to the previous Effect.Accoridon submitted. It still flickers a bit, however there is a hack which fixes the container''s height, so it doesn''t flicker the rest of the elements on the page. It''s also barely noticable in IE6. Any suggestions on how to fix this
2006 Aug 18
1
Possible to ''Reset'' sortable?
Hi all, I have a sortable list (tree) that interacts with various droppables. [List 1] [List 2] [List 3] [List 4] [Drop here 1] [List 5] [Drop here 2] Now, on dragging [List 2] and dropping it on [Drop here 2] a certain action takes place. I then want [List 2] to return to its original location. However, it returns to the list below [List 4]. So, any ideas how I can get it to
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