Displaying 20 results from an estimated 10000 matches similar to: "Can I use drag-and-drop for this?"
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 Feb 13
8
Netvibes.com / Scriptaculous
Hi list,
Is it possible to create a "dashboard" type application, like
Netvibes.com, w/ script.aculo.us?
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya,
I''ve just released script.aculo.us V1.5_pre1.
Please give it a try!
Important new stuff (since V1.1b1):
* Added a main scriptaculous.js file to load in the other libraries
transparently.
* Fixed a condition where standard a href=xxx links wouldn''t work in
autocomplete results. These do now, the onclick event is not
cancelled. [thx to Jasper Slits]
* Added
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 Jan 29
2
Questions about Sortable javascript
Hi,
I''ve been playing with sortable, the demos on script.aculo.us and
reading the javascript. I hope I''m not just missing the documentation
somewhere but I can''t find it. I want to do something like Sortable
for the admin side of an open source ecommerce project I''m working on
[1]. I''m relatively new to DHTML but understand the basic ideas. If
someone
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
2006 Mar 23
4
Implementing nested drag and drop using scriptaculous
Hi.
I have gone through the scriptaculous wiki. I am trying to implement nested drag and drop but not able to do this.
The situation is like this.
_____________________________
| abc | => Box1Line1
| cde | => Box1Line2
| efg | => Box1Line3
| h | => Box1Line4
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
2008 May 30
1
Drag and Drop with scriptaculous
Hello,
I''m making my first steps with prototype and scriptaculous.
I''m playing around with drag and drop.
What I try to do:
I have some Draggables and some Droppables. You can drag each
Draggables to each Droppables.
When I drop a Draggables I want to center the Draggables inside the
Droppable.
And here I get my first problems:-(
I use this code:
Droppables.add(
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()) {
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 Apr 24
2
sortable table rows?
I''ve been trying to make some table rows sortable using Scriptaculous. I''ve
used:
Sortable.create("secondlist", {tag:''tr'', treeTag:''table''});
and
Sortable.create("secondlist", {tag:''tr''});
Neither of which works. Is it even possible to do this?
Thanks,
Daniel
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 Jun 14
4
Extend Draggable
Hello all,
I want to extend a draggable object so it has one more attribute (type
attribute, so I can distinguish different draggable types).
Can anyone tell me how to do it?
I''ve search throught the examples (like
http://wiki.script.aculo.us/scriptaculous/show/ExtendClass) but I
can''t seem to understand what I should do.
Thanks for you help,
H
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
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
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 May 15
3
Drag and drop tutorials/examples?
Just finished our first proper rails app and I''m trying to add some AJAX
effects for the first time. I''ve got Rails Recipes and the Rails
Cookbook, none of their examples seem to be a good fit with what I''m
trying to achieve. Which is...
I have 2 lists of users. One for assigned users, one for unassigned
users. I want to be able to drag users between the lists to
2006 Jun 20
10
Next script.aculo.us release, help needed
Hey there!
I''m in the process of looking through the various bug reports and
tickets and
fixing script.aculo.us as I go along.
As I want a 1.6.2 bugfix release to happen this week, please help me
out with:
- Looking throught the open bugs list on the trac, testing stuff and
giving helpful comments (like "+1")
- Identifiying what bugs/patches should be included (answer to
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