similar to: Sortable scroll offset

Displaying 20 results from an estimated 2000 matches similar to: "Sortable scroll offset"

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
2008 Feb 15
1
Sortable limit number of elements
Hello, Well, i need to limit the number of elements in a sortable. I new to scriptaculo but i have lots of experiencie with javascript. Since limit the number of elements is not supported by Sortable i would like to implement, i already took a look at the Sortable class in dragdrop.js and it looks like that onHover and onEmptyHover deal with the update of the UI, however I''m not unable
2006 Sep 06
1
Scroll option for Sortable.create
I have been unable to get the scroll option to work properly. I am setting Position.includeScroll Offsets? = true; in my script prior to calling Sortable.create and overflow:scroll is part of my div container class. The scroll bars appear and I am able to add/remove items, but the automatic scrolling (as described in the documentation) does''t fire. In others word, the container
2008 May 14
0
draggable gets offset on scrolling when its container is position:fixed
hello, my draggables are located in a DIV which is position:fixed ... so my "cart" stays always at the bottom of the page. when the page gets a vertical scrollbar now, then the droppables zone gets an offset of exactly the scroll ... the same topic can be found here: Having problems with "position:fixed; bottom:0%;" and dropzone div''s Optionen
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.
2009 Jun 04
1
wrong number of arguments (1 for 0)
Hi, I hope someone can help me because this is driving me crazy, I''ve spent hours trying to track this down. I''m trying to convert a Rails 1.1 to Rails 2.3.2 and I''m getting the following error when trying to save a many to many relationship. I''ve double checked all the associations, I''ve used console to test my models and they all work ok, I can do
2009 Aug 28
2
Association extension method
In my application a user working at a dropzone can manipulate transactions against customer accounts. Here''s my models: class Transaction < ActiveRecord::Base belongs_to :account end class Account < ActiveRecord::Base belongs_to :dropzone has_many :transactions end class Dropzone < ActiveRecord::Base has_many :transactions, :through => :accounts do def
2006 Dec 08
4
Patch to wobbly snap for outputs
Here's a patch to wobbly.c to handle edge snapping with multiple outputs... Also, I tweaked the window edge snapping to include dock window types, to support the case where dock windows may be on the inner edges of multiple monitors (and thus currently ignored as struts in the output workarea setup). I personally think we should include these "inner" struts when calculating the
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
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
Hi all I am creating sortable list with the builder. Now i want these sortables to be a sortable aswell. So i wrap a div around them and run sortable create on the main-container. I have it like so (simplified): var myLists = new Array(); // start a empty array for push var mainDiv = ''main''; // some already present div to carry all stuff. function newList() { var sortlist
2005 Aug 24
1
Strange Bug - Dragging a sortable filled with sortable - the bigger one "stays"...
*** don''t know if i''ll be clear... if not, tell me Hi. http://favoris.lichenmedia.com/untitled.htm I don''t know why, but when I drag those sortables (tagged with the handle handle) filled with the sortables (the lists with lorem ipsum) The handled-one "stays" where you dropped them. When you drag the li between the uls that are the big containers, no
2005 Sep 14
13
table sorting/manipulation library?
I have a library I''ve developed that I believe is the most flexible and useful table sorting/striping/row-selecting library around. Big features: Single and multiple-level sort Arbitrary sort criteria (IP address, date, etc.) Works with table headers that are > 1 row or column large Stripe tables and/or enable row selecting Row selecting supports drag-select and SHIFT-click No extra
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 Jun 13
0
sortable trees and rjs updates
Hello, I''m experiencing some odd behavior with a sortable tree when I try to add an element using javascript via rjs. What''s strange is that things work fine if I have moved any item on the list prior to adding a new element but produce odd results if I haven''t. My tree is a normal nested group of ul''s and I have the call to Sortable.create in a partial so
2006 Mar 11
0
Adding elements to a sortable after initialisation
1. Is it possible to add elements to a sortable after the sortable has become active? I guess just inserting new li elements into the list won''t be enough, is there a way to tell the sortable that it has a new element? 2. Can I change the containment settings of a sortable after it is active? I want to add sortables dynamically and want to enable moving sortables between this new
2006 Mar 21
0
Question for Gurus: Sortable Lists
I''ve been stuck on this particular problem for quite some time now. If I don''t explain it well enough I''d be happy to explain more. I have a group of draggables and a droppable object. I''ve created a function for the Droppable.onDrop event so when I drop one of these items I check (via an array) to see if it has already been added to the droppable. If it
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">
2005 Dec 17
0
hoverclass doesn''t seem to be set from Sortable.create
Hey folks, I''m having a little trouble with the hoverclass parameter of the Sortables.create method. Unfortunately I can''t post a demo page at this time, but I''m creating three lists with the following code: Sortable.create("listOne", {dropOnEmpty:true,containment:["listOne","listTwo", "listThree"],constraint:false,
2004 Nov 05
1
netapps vfiler
Hi, Did anyone here tried to use rsync between a unix machine and a NetApps Vfiler volume? I have strange case where it does create the folders on the vfiler volume but does not copy the files. Command is something like this: rsync -va dropzone pushacc@prod:/launchpad where, * dropzone is the the folder which keeps source files and folders in unix. This folder is owned by a unix account
2006 Mar 01
0
Script.aculo.us: Dynamic Sortable List Problems
This is my first post to this mailing list so I hope its in the right location.I''m trying to use a list of draggables (not sortable) which I can drag into a droppable div. The goal is to create a new item, not to move from one list to the other. When a new draggable is dropped, a new div is added to the droppable div and a sortable is created. Everything is working fairly well, to