Re: [Rails-spinoffs] Re: Nest sortables?

2005-10-30 Thread Bill Lynch
> dept name > > > > // <![CDATA[ > Sortable.create('List_Top',{handle:'handle',constraint:false}); > Sortable.create('List_depts',{handle:'handle',constraint:false}); > Sortable.create('List_other_dept',{handl

[Rails-spinoffs] Re: Nest sortables?

2005-10-29 Thread Bill Lynch
All, Any ideas on this? My hunch is that isn't not possible but I'm wondering if anyone knows a trick. I tried using the handle class section in each LI element but that didn't change anything. Thanks, --Bill On 10/26/05, Bill Lynch <[EMAIL PROTECTED]> wrote: > Hello A

Re: [Rails-spinoffs] Save output of Ajax.InPlaceEditor to a variable?

2005-10-27 Thread Bill Lynch
that in a variable then execute the Ajax stuff. Wouldn't it be simple to just short circuit the ajax call and return the value? Just make it configurable with another option called "ajax=true" (default mode) .. I'd use that by just passing in "ajax=false". Thanks, --Bill >

Re: [Rails-spinoffs] Save output of Ajax.InPlaceEditor to a variable?

2005-10-27 Thread Bill Lynch
ROTECTED]> wrote: > Hi Bill. > There should be a getText-value on the editor. > > var field=new Ajax.InPlaceEditor('editme', '', {onComplete:readValue}); > > function readValue(){ > alert(field.getText()); > } > > > > Bill Lynch wro

[Rails-spinoffs] restricting movement in sortable list

2005-10-27 Thread Bill Lynch
Hello, I'd like to know if this is possible. Say you have a sortable list like so: one two three -- A four five -- B Is there any way to restrict the movement of "three -- A" and "five -- B" such that they never cross? For example, you could click on five and move it above four

[Rails-spinoffs] Save output of Ajax.InPlaceEditor to a variable?

2005-10-27 Thread Bill Lynch
All, The Ajax.InPlaceEditor control is nice but I'd like the ability to read the changed value. Basically, I'm creating a form with editable elements but it's only when I do the submit that the form elements are submitted. I'd still like to allow in-place editing but what I'd like to do is get the

[Rails-spinoffs] Nest sortables?

2005-10-26 Thread Bill Lynch
Hello All, I'm wondering if it's possible to nest sortables: One Two Three Four ... create sortables out of 'first' and 'second' I played around with this already and it looks like it's not possible but I'm wondering if there's a config