Displaying 20 results from an estimated 7000 matches similar to: "Sortable Dropable, Dragable"
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 Feb 16
4
cancelling droppable if draggable dropped on different droppable
I''m writing a web app in which I have several ''windows'' in which the
user can perform given functionality.
So for example I have one window which manages images on a server (drag
an image into a folder and the file physically moved on the server via
ajax ) These images can also be dragged into another window to create a
slideshow.
My problem
2006 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my
question is similar in the regards that i don''t want my application to
send multiple requests. i have 2 sortabbles lists left, and right. when
i move an item from left to the right the onUpdate callback will send 2
ajax requests. one for each sortables. however. i want it to serialize
and send back the results from
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 behavior. Part of the problem
is the draggable and the draggableObserver are
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
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 Feb 28
0
Question abour Draggables & Droppables - my code example
hi i think my example is very simple and straightforward so i''m not sure if
it meets your needs (change revert:true to revert:false from a draggable
after I drop it on a droppable so it doesn''t return to its original place.)
i did this
# 2 divs created here
<script language="javascript">
new Draggable(''drag'', {revert: false});
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
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
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
2006 Feb 10
2
Sortable + Draggable : doesn''t follow the mouse horizontally
When a ''draggable'' element is made ''sortable'', it no longer follows the
mouse horizontally when you drag it.
Is there a solution/workaround?
TIA
Alain
2006 Jun 29
0
Sortables question
Hello,
I am new to Scriptaculous, and was recently brought into a project using
it to create an email Newsletter builder. The idea is that the user
will have lists of elements that he can add to the email page by
dragging the element he wants to add from an "available sections"
container, to a "loaded sections" container. Dragging from the loaded
to available will
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
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
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.
2007 Jul 05
1
onDrop don't fires
Hi!
As in http://groups.google.es/group/rubyonrails-spinoffs/browse_thread/thread/bbd975bac3be748a?hl=es
I have some problems with onDrop on a Droppable
Instead of he I have only a sortable list with draggable elements (I
make the list sortable and every element draggable)
I try two forms:
onDrop: Borrar
where Borrar is something like:
Borrar = function () { my code here }
an onDrop:
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
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
2006 May 24
1
Sortable: Ajax not firing?
Using Rails to generate a sortable list, I get the draggable/sortable page
elements, but Ajax never fires back the post-sorted list. (I''ve checked with
IE & Firefox, the "save this order to the DB" controller hasn''t been
called.)
The View:
<p>Drag to sort.<span id="sort_info"></span></p>
<ul id="sort1">
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