Displaying 20 results from an estimated 3000 matches similar to: "Problem with sortables and draggables on same page."
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
2005 Dec 28
6
Sudden Javascript Console noise in firefox
I have been using the latest version of Firefox and Scriptaculous for about
a week now, with no problems.
Now I get a lot of noise in the javascript console out of the blue:
http://img481.imageshack.us/img481/7913/screen4nt.jpg
--
============================
Brian Peiris
Brampton, Ontario, Canada
brianpeiris-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or
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});
2005 Dec 17
17
problems with quotes and escaping
First of all I''d like to say thanks for all the great work everyone has put
into scriptaculous,
I''m having a lot of fun playing with the framework, and easily moving into
Web 2.0 territory.
I''ve just hit a snag on my project though.
So here''s my code:
...
var newEvent=
"<div
2006 Jun 12
5
scriptaculous & sortables/draggables scrolling?
Re,
Would anyone happen to know how to make sortable/draggable scroll down
the page while moving the object if the page happens to be larger than
the screen size? These functions seem to work only within the visible
working space.
Right now I have workaround whereby I have an omnipresent DIV on the
screen to which I drop an element, then scroll down in the browser to
a certain point, and then
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
2005 Sep 19
0
Sortables and not-Sortables
I have some drag and drop to do that is just a little different from the
scriptaculous demos. My application has a shopping cart-like setup,
where the user needs to drag an item from the main content area to a
particular position in the cart. I don''t want to be able to sort items
in the content area. That is, the target is a Sortable list, but the
source is not.
Problem one was that
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
2005 Jul 19
0
draggables bug(s)
Loving using draggables/sortables in rails... two small issues though -
First bug: creating a draggable object with a handle in rails:
<%= draggable_element "item_#{item.id}", :handle=>"myhandle" %>
this generates code like this:
<script type="text/javascript">new Draggable(''item_7'',
{handle:myhandle})</script>
***
2006 Mar 07
1
Sortables/Draggables and overflow
If the containing element has it’s overflow property set to anything but
"visible" and I try to drag something out of the list, the draggables
are dragged underneath the “border” ( the hidden area of the container)
and thus become partly or completely invisible. Any ideas to prevent
this from happening?
I think, a future solution might be to immediately (on startDrag) detach
the
2006 Mar 07
1
Sortable trouble
Hi everybody,
Could somebody have a look at a little sortable example at
http://www.weisshuhn.de/diagnose/sortable.html
It implements two Sortables and a Draggable. You can drag elements
from the "source" Sortable to the main Sortable, sort them (surprise)
and drag them to a trash. Whenever you drag from the "source", a new
element is created (by cloning an invisible
2006 Jan 10
4
Autoscrolling for Draggables and Sortables
Hi all,
I''ve applied an experimental patch today to the scripaculous trunk.
Setting the scroll option on Draggables or Sortables to an element
(or an element id)
will attempt to auto-scroll this element when dragging.
See test/functional/dragdrop3_test.html for a demo/usage.
It''s modelled after the behaviour in the Mac OS X finder, with
variable scrolling
speed depending
2005 Nov 03
0
sortables w/ hoverclass
Good hello.
I'm confused by the 'hoverclass' option that can be passed to Sortable.create
It works with Droppables.add but (for me) it doesn't seem to do
anything when used with Sortables. (afaik Sortable.create just calls
Droppables.add and passes the hoverclass option through- or at least
it's supposed to)
Not sure if it's broken in the current svn script.aculo.us but
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.
2006 May 29
1
Re-orderable column DataGrid + Patches for Sortable.delay and Sortable.ignorePositionXY
I would love to get some feedback and test a patch to rev. 4380.
First, the money shot - check out this demo of a scriptaculous DataGrid:
http://development.finetooth.com/?p=13
I''m using the <tr> as a sortable with the <th>''s as the sortable elements.
The Patch file:
http://www.commoner.com/~lsimon/scriptaculous/delay_and_ignorePosition_forSortables.diff
The patch
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 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 26
14
Question abour Draggables & Droppables
Hi,
What I need to know is how to 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.
Something like:
[CODE]
<!-- Draggable image -->
<img alt="Product" id="item" src="icon.png">
<script type="text/javascript"> new
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