Displaying 20 results from an estimated 10000 matches similar to: "Scriptaculous - Sortables problem within a scrollable div"
2008 Mar 11
7
sortable scroll in div problem : dragged element doesn't follow the mouse pointer
Hello,
I''m facing a strange problem with a long list of Sortable items in a
container that has an overflow:auto.
If I drag an item from the top to the bottom, the container div is
scrolling, but there is a difference between the position of the
dragged element and the mouse pointer.
An example is better that a thousand words.
Try to drag the first item at the bottom of the
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 Apr 11
1
IE Sortable Style Problem
Hi Guys,
I am having a problem in IE (tested versions 6 and 7 beta) with sortable divs in a container div with overflow set to scroll. It looks like all of the divs have their position set to relative after the sortable initializes, and also after being dragged. When a div (any element?) has a relative position in a containing div with overflow set to scroll, all of the divs with relative
2006 Feb 27
4
Getting nuts with sortables...
Folks,
It has been a whole day spent on this but I still can''t get my mind
around the most probably very stupid/basic mistake here... First, the
code I use:
<h3>List A</h3>
<ul id="lista" >
<li id="item1"> Item 1</li>
<li id="item2"> Item 2</li>
<li id="item3"> Item 3</li>
</ul>
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 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
2005 Aug 24
4
scriptaculous: Draggable and table rows
I''m trying to add drag/drop for moving rows between two tables, and not
having much luck... I can get images to be drag-able OK so I know all
the script files are in the right place ;-) But no joy with table rows.
Is this a Draggable and/or Javascript/HTML limitation?
Here''s what I''m trying:
<html>
<head>
<script type="text/javascript"
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 Mar 28
1
Simple question about sortables...
Hi, I''m new to the prototype and scriptaculous (v1.5.1) libraries.
I''m creating a sortable list using the code below, and I''m finding that
while a list element is being dragged in IE, the element text is
transformed to appear bolder than the original. In Firefox, the text
becomes opaque.
Is there anyway to stop this from happening, ie don''t change any
2007 May 09
0
Scriptaculous Sortables: dragging between sortables and reordering them by javascript?
Hello,
I wanted to drag elements from one sortable to another - not a
problem. the hard thing is that i want to call a JS function to
reorder the elements by certain criterias (ranking f.e.).
So the two involved sortables are firering two onUpdate event. When I
am changing the order of the LI-elements of the first Sortable (by
removing them and adding them again), the second onUpdate event will
2005 Aug 02
3
Scriptaculous: Sortable (dragdrop.js) onUpdate
Hi all,
In the following code, it doesn''t look like the onUpdate() event is firing.
Am I doing something wrong?
<ul id="testSort">
<li id="item1">item 1</li>
<li id="item2">item 2</li>
<li id="item3">item 3</li>
<li id="item4">item 4</li>
<li id="item5">item
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 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 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 26
1
unmovable items on sortables...
The "Sortable lists demo" is almost perfect for a project, but once
you drag all the items from the first list to the second, you cannot
drag back to the first. I need to be able to have several <ul>s that
can be dragged back and forth between, even when one is emptied.
Possible solutions?
1) create a <li> that is styled as a header, and is unmovable
2) modify the
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 Jul 13
2
A small question about dragging effect on sortables
Hello,
I''m implementing sortables in Rails and I can''t seem to get the
lovely effect from the Sortable Floats Demo on Thomas'' wonderful site:
http://script.aculo.us/drag-and-drop#sortable-floats-demo
Simply put, I can''t get the effect whereby you''re dragging the image.
When I have a vertical or horizontal constraint on a list, the effect
2005 Sep 29
14
Draggables and overflow div''s revisited
I have two scrollable div''s (overflow:auto), one with
a list of elements (the source) and the other is the
drop target (dest).
I''ve enabled ghosting so that the drag element gets
out of the scrollable box (good).
Interesting, at least on Firefox, the ghosted drag
ends up going ''under'' the destination div when I drag
it. No amount of z-order fidding seems to
2006 Feb 04
3
helping with scriptaculous/Thomas Fuchs MIA?
Hi,
In the last few days I''ve been working a lot on rewriting the
dragdrop.js code. I''ve made changes for what I think is stronger
object-oriented design and made more parallels between how Droppbables
and Draggables are coded and instantiated. I have multiple selection
and dragging of draggables working and droppables can accept multiple
draggables in one drop. There are some
2006 Feb 17
2
Add new lists to existing sortables container
Hi All,
I''m using scriptaculous for the first time. I''m creating a CMS where the user can simply drag menu items to change the order. This is all simple enough. My problem comes with nested menus. The sortables are fine within their own menu but not across other new menus. The reason for this is that I''m using AJAX and only create a sub menu when it''s parent