The "only" option in Sortable.create "Further restricts the selection of
child elements to only encompass elements with the given CSS class (or,
if you provide an array of strings, on any of the classes)".
So just include all the class elements except those you want to be
sticky in "only".
W
1. use Sortable.serialize (be sure to include a "_" in your element
ids) on the containers to get a delimited order sequence string or cycle
through the elements in order yourself and create a delimited sequence
string. Then pass the delimited sequence string in a posted form field
or via get
this behavior would be a good feature for the
update_element_function to perform?
Tom
On 12/6/05, Douglas Forrest <[EMAIL PROTECTED]> wrote:
Bracket it with a try..catch block and leave the catch block empty...
Tom Davies wrote:
I am using the update_element_funct
Bracket it with a try..catch block and leave the catch block empty...
Tom Davies wrote:
I am using the update_element_function to update the text in some
elements. This works fine, however, if I try to update an element
that is not on the page anymore, it fails silently and no further
javascri
Sorry about sending html -- here it is in plain text:
Not exactly. With respect to that demo, imagine that:
Items in list 2 could be sorted within list 2 but not dragged to
list 1;
List 1 items could only be dropped within list 1 or onto a list 2
item;
List 1 items which were dropped on
e as the sortable lists demo?
I encountered that I was not able to do it right until I used the
latest version of the libraries (i.e., had to ditch the default rails
ones)
Victor
On 12/5/05, Douglas Forrest <[EMAIL PROTECTED]> wrote:
I am trying to create a screen like Google's
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 (dr