similar to: drag and drop sorting with an empty list

Displaying 20 results from an estimated 30000 matches similar to: "drag and drop sorting with an empty list"

2006 Mar 31
2
RE: drag and drop sorting with an empty lis
I ran into this issue too. My solution was to add an "onUpdate" function to the sortable that tests the container to see if it''s got any children or not: function is_empty(container) { if ($(container).hasChildNodes()) { Element.removeClassName($(container),''empty''); } else if (!$(container).hasChildNodes()) {
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
2007 Apr 11
1
Drag and Drop sorting of images, need to save
Okay, I know it is out there somewhere. I am working in script.aculo.us trying to get a series of images to go into a grid and be reordered. Then the form can be submitted and saved in a database. I am working in ColdFusion, but understand ASP and PHP. Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
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 Feb 03
1
Stupid drag/drop add on
To constraint the movement to a specific area, I added the following lines in dragdrop.js This will allow you to specify: area: [2,3,100,120] to draw a rectangular area where movement is allowed... might have very strange side effects, just needed a quick/dirty hack. Plus I installed script.aculo.us just 10 minutes ago :) Don''t flame pls. Manuele line:202 (please note the ","
2006 Mar 22
2
RE: Support for window scrolling for drag anddrop
Will that work with Sortable as well? > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Thomas Fuchs > Sent: Wednesday, March 22, 2006 12:48 PM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >
2006 Aug 22
0
Re: Multi-select and drag and drop
Hi Peter, is your patch against script.aculo.us mentioned in [1] gone any further in the last 3 months? -- alberto [1] http://dev.rubyonrails.org/ticket/2585 On 22/ago/06, at 00:35, Peter Michaux wrote: > > On 8/21/06, Bill Lazar <blazar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> >> Before pounding my head on this particular rock I want to ask if >>
2007 Nov 16
1
drag & drop list needs refreshing
Hello guys, I''m a scriptaculous newbie (I started working with it only yesterday) and I have already the first problem. I''m trying to implement a drag & drop list (fallowing the shopping cart example http://demo.script.aculo.us/shop) and I''m almost done but after dropping an item on the target div I need to refresh the page to see that the item has been moved.
2006 Mar 23
3
drag and drop sorting recipe
The new pragmatic Rails Cookbook has a drag and drop sorting recipe. Does anyone know if this works with 1.0? I''ve followed the recipe (i think), and I can drag but when I drop everything goes back the way it was. It seems that the sort logic doesn''t get invoked. I put this code in my view: <%= sortable_element ''task-list'' , :url => {
2006 Jun 18
0
Very cool scriptaculous table drag and drop stopped working on new version
Using older versions of prototype.js (1.4.0_rc2) and scriptaculous (1.5._rc4), I had a master table containg other tables (sections), each of which had rows. Using tbody''s as containers, I could drag the section tables up and down over the other section tables AND drag the rows in a section table up and down within that table or into the rows of the other section tables, all very
2006 May 27
2
Looking for specific drag and drop implementation
I finally started playing with delicious and am liking it! I''m building an app where people can have various ''folders'' of images and then ''sets'' of said images. A set is simply a object that links to any number of specific image in the folders. To create/organize a set, I''ve set up two draggables. One being a selected folder, the other being
2006 Mar 29
2
Drag/Drop and KeyPress
Hi! is it possible to make a drag dependent on a KeyPress event? I couldn''t find any information on that on the script.aculo.us website. My scenario is the following: I have a tree with several nodes (like windows explorer). Right now i use Drag & Drop to move a node below a new parent. Now i want to implement a copy mechanism which allows the user to copy a node through Drag
2006 Jan 20
3
disabling drag''n''drop features on some areas
Hi, I have implemented the drag and drop feature to move around some divs, but I have a small side effect i am trying to clear: When the draggable div contains links, and if the user grab the div on the link, the drag is done but the link is also visited, leading to unwanted issues. What I''ve tried to do is to look for all ''a'' tags in the draggable elements in order
2006 Apr 05
4
problem with drag and drop
Hello, I''m creating an application wich can be seen at http://158.227.7.9/serious_serv/prueba_xml_test(31-3)/interfElemen/integMenuContextFileUpl.htm The instructions for working with it are the following: with rigth-click you can click "AƱadir una imagen" to load an image into the page, then you can drag and drop it in the box with "aqui van las imagenes" into it.
2006 Jun 26
2
Drag''n''drop DOM elements between (I)FRAMEs
I am quite disappointed in the drag ''n'' drop support in Mozilla Firefox. What am trying to achieve is dragging an element from one IFRAME/FRAME into another IFRAME/FRAME. But upon dropping the element, I do not want the target IFRAME/FRAME to open/load it. I want it simply to handle the event, such as parsing the element/data dropped. Such uses as dropping an element into a
2006 May 12
0
How to cancel the drag and drop on ajax error
Hi, We use the Sortable functionnality with Ajax. When an ajax error is returned, I would to know how to reorder the items just as they were before the drag and before. Thanks. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Mar 22
1
RE: Support for window scrolling for draganddrop
To answer my own question, yes. I looked at the trunk and it passes the option on from Sortable. Greg > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Gregory Hill > Sent: Wednesday, March 22, 2006 12:51 PM > To:
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
2006 Apr 06
1
RE: Drag and drop events. Or: How I learned to takeover the world.
You should open up dragdrop.js in the scriptaculous directory and take a look at the interface for Draggables/Draggable. There is an event for dragStart, dragging, and dragEnd (not by those exact names but you should see them)... sorry I can''t offer more help than just pointing you in the right direction... very busy. Good luck, nice start! The information transmitted in this
2005 Jul 12
2
save order from drag and drop
only just found the script.aculo.us site. brilliant. much respect. wondered if anyone can point me in the right direction on this drag and drop list re-ordering type thing, i''ve read through what I can but to be honest it''s gone right over my head! How do I get the new order that has been established via dragging list elements around and store them in a database. I figured an