Displaying 20 results from an estimated 10000 matches similar to: "Drag and Drop sorting of images, need to save"
2007 Dec 26
2
How to display what item you've dropped item in a sorted list ?
http://wiki.script.aculo.us/scriptaculous/page/print/SortableFloatsDemo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
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 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 Feb 24
2
declaring draggable object that holds it position
Hi i posted this question earlier on how to create a droppable div(New to
Ajax), and i have just realised that my code does work, however the function
doesn''t work the way I expected it to, I would like my draggable to remain
where it was dropped, currently I have a draggable div and a droppable div.
I would like to try create a puzzle type game which has a set amount of
droppables and an
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 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.
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 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 Mar 31
0
drag and drop sorting with an empty list
Does anyone have a good solution for using script.aculo.us drag and drop
sorting with multiple lists when one or more of those lists might start out
empty?
I want to drop from list A to list B, but unless B starts out with something
in it, there''s no drop target there. My guess is that I could put "None"
in the empty lists and then write some javascript to remove the word
2005 Oct 11
8
Drag & Drop probs
Hi,
I''m just trying out the possibilities of script.aculo.us / prototype
having two problems...
I have a draggable element with revert:false-property and two
dropzones. (The draggables are in a <td> and the dropzones are
<div>s if that is important.)
1. I want the draggable element to snap back to its original position
when it gets dropped anywhere out of a dropzone.
2.
2006 Jun 16
6
Drag and Drop work in IE?
Please,
I''m build an drag and drop tree using scriptaculous and it is perfect in
FF but when I test in IE don''t work, I drag the element and when I free
the button the element don''t go to the place, stay in the mouse pointer...
What can do it happen? I''m using last version of scriptaculous.
Thank you,
Pedro
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
2005 Jul 05
1
[PATCH] script.aculo.us drag-and-drop patch
Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2618 bytes
Desc: not available
Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050705/8b315d27/smime.bin
2006 Aug 25
5
Dragging between DIVs with Prototype/script.aculo.us
Hi,
I''m fairly new to script.aculo.us, so hopefully this is the right place
to ask this question. I have the following situation (pseudo-code):
<div>
<Droppable 1>
<Droppable 2>
</div>
<div (scrollable)>
<Draggable 1>
<Draggable 2>
...
</div>
Basically, my Draggables are inside a scrollable <div> element (the
interface
2006 Jan 11
2
Good OOP and JS books / tutorials? Looking to teach my team
Can anyone recommend good books, online tutorials, or any other learning
materials for Javascript - specifically Object Oriented Programming using
JS?
I want the rest of my dev team to be able to help me code in JS,
specifically using prototype and scriptaculous. I''ve been using JS for so
long, and I kinda "grew up" on OOP programming but my whole team is
Coldfusion
2005 Jul 14
1
Dropping on empty script.aculo.us sortable lists
I have a need to have two sortable lists with the ability to cross drop
items between the list. I am using the
script.aculo.us<http://script.aculo.us>library. All is well until I
empty one of the lists completely out, at which
time I cannot drop anything in to the empty list. I have used CSS to set the
height of the <UL> so I have a large target to drop on.
In my efforts to make it
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
2006 Jan 10
2
WHAT IS SCRIPT.ACULO.US?
Hi,
Can anybody tell what is script.aculo.us? like whether it is an java
package, javascript package, javascript library or something else,
Pls clear my doubt.
With Regards
Rupa
**********************************************************
The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or
2005 Oct 26
2
Troubleshooting inplace editor
I can''t get the inplace editor to do anything for me. The output appears as
regular formated, unclickable text. Maybe I am missing something simple.
1. I just downloaded script.aculo.us <http://script.aculo.us> 1.5_rc3 and
copied it to my javascript folder.
2. To set up a simple test, I created a new test page containing only the
copied from demo1 from the script.aculo.us
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
>>