search for: scrollsensitivity

Displaying 7 results from an estimated 7 matches for "scrollsensitivity".

2006 Jan 30
0
Draggable with auto-scroll
...et(this.options.scroll); //p[0] += this.options.scroll.scrollLeft; //p[1] += this.options.scroll.scrollTop; p.push(p[0]+this.options.scroll.offsetWidth); p.push(p[1]+this.options.scroll.offsetHeight); var speed = [0,0]; if(pointer[0] < (p[0]+this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[0]+this.options.scrollSensitivity); if(pointer[1] < (p[1]+this.options.scrollSensitivity)) speed[1] = pointer[1]-(p[1]+this.options.scrollSensitivity); if(pointer[0] > (p[2]-this.options.scrollSensitivity)) speed[0] = pointer[0]-(p[2]-this.options.scro...
2006 Jan 10
4
Autoscrolling for Draggables and Sortables
...ll 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 on the distance to the scroll element edge. Also, it''s tweakable with the scrollSpeed and scrollSensitivity options. Note that the exact behaviour and options names might still change, I''m open to suggestions on this. Also, it''s currently not working for scrolling the window (but that should be a trivial addition). So-- let''s test and discuss this... :) -Thomas
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
2
RE: Support for window scrolling for drag anddrop
Will that work with Sortable as well? > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Thomas Fuchs > Sent: Wednesday, March 22, 2006 12:48 PM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >
2006 Mar 22
6
RE: Support for window scrolling fordraganddrop
...oned elements for some reason. So, I just gave up for the time being. Anyone know of a way to get the width and height on positioned elements in IE? Anyway, the patch fixes it so that the dragged element moves with the scroll, even when the mouse cursor leaves the document, and it now passes the scrollSensitivity and scrollSpeed from Sortable to Draggable. Greg _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
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(
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