similar to: RE: Support for window scrolling for drag anddrop

Displaying 20 results from an estimated 4000 matches similar to: "RE: Support for window scrolling for drag anddrop"

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 Mar 22
6
RE: Support for window scrolling fordraganddrop
I have two fixes in a text file. I created the diff using "diff -u", so I hope you can apply the patch. The file is attached. I never could get my optional ''scroll when the dragged element goes outside the scrolled element'' thing to work. I got it to start scrolling correctly, but then it would start making increasingly big jumps and basically scroll out of control.
2006 Mar 22
1
RE: Support for window scrolling for draganddrop
To answer my own question, yes. I looked at the trunk and it passes the option on from Sortable. Greg > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Gregory Hill > Sent: Wednesday, March 22, 2006 12:51 PM > To:
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 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
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 22
0
Support for window scrolling for drag and drop
Today has seen the incorporation of patch #3921 into the script.aculo.us trunk, which allows for automatic scrolling of the page when dragging a draggable element. Thanks to rdmiller for submitting the patch! To use it, you basically just do: new Draggable(''blah'',{scroll:window}); Anyone: Please give it good testing and report any problems you might have. -Thomas
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
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 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.
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.
2005 Aug 15
6
Possible to scroll window when user drags a draggable?
It doesn''t seem to be possible, but perhaps somebody knows a trick. I have some lists that get too long and users can''t drag from list 10, for example, to list 1. Is there a way to get the browser window to scroll as they drag the item up? Thanks! Tom
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">
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 May 28
10
Drag''n''Drop out of overflow:auto containers
Cheers, I have some elements inside a div with overflow:auto. When I trie to drag them outside of the div, the div starts to scroll. Is there a way to stop this behaviour for drag and drop? I thought of maybe using callback to disable the overflow and restoring it againg after the drop. Did someone implemented something like this? Thanks, Jonathan -- Jonathan Weiss
2006 Apr 06
0
script.aculo.us V1.6.1
V1.6.1 (2006-04-06): Sortable Trees, Prototype 1.5.0_rc0 (fixes IE mem leaks)! New features in V1.6.1 and V1.6.0: * Update to Prototype 1.5.0_rc0 * Sortable trees [thx Sammi Williams, sammi-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org] See the functional test (test/functional/sortable_tree_test.html) and the CHANGELOG for more information! * Add Draggable object as third parameter
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
1
Nested drag and drop rendering issue with ie
First and foremost, excellent library - excellent work. Thank you. Now, here''s what I''m doing: <div id="wrapper"> <fieldset id="page_1"> <legend>Page</legend> <fieldset id="group_1"> Group </fieldset> <fieldset id="group_2"> Group </fieldset>
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 Feb 27
11
Disabling anchor clicking in a draggable
Hey guys I have an interesting problem - I have some draggable elements (sortable actually), with links (<A>) inside them. I want the user to be able to click on the link, however if the user drags the element I don''t want the link to get fired. Can anyone think of a way to do this? It only needs to work in Firefox. Cheers -Rob