Re: [Rails-spinoffs] inPlace Editor
Thanks, I may try this. I merely added it to the url for simplicity since I have to add my session information anyway. I just thought that I was missing it somewhere, since it must be a common problem. Deco On Jan 9, 2006, at 12:03 AM, Maninder, Singh wrote: How about something like this?
Re: [Rails-spinoffs] inPlace Editor
Maybe you can help. The call back function is after returning from the server. I want to sent more values to the server. Or is this a prototype thing? Deco On Jan 9, 2006, at 12:03 AM, Maninder, Singh wrote: How about something like this? Adding a callback... Hope this helps! Thank you, M
RE: [Rails-spinoffs] inPlace Editor
How about something like this? Adding a callback... Hope this helps! Thank you, Mandy. To be edited new Ajax.InPlaceEditor($('tobeedited'), '_ajax_inplaceeditor_result.html', { ajaxOptions: {method: 'get'}, callback: function(form, value) { return 'id=5&value=' + value},
[Rails-spinoffs] inPlace Editor
HI, I am a new to the group. I have run into the following issue. The following works fine To be edited new Ajax.InPlaceEditor($('tobeedited'), '_ajax_inplaceeditor_result.html', {ajaxOptions: {method: 'get'} }); But I wan
Re: [Rails-spinoffs] turning revert off after being dropped
Roberto Saccon wrote: > AFAIK revert is only valid before the drop AFAIK. But just add: > > :before => "Element.hide(element)" > > to your <%= drop_receiving_element ... %> > > and you drag element disappears .. That's perfect thanks. I guess I just had to think about it a little differently
Re: [Rails-spinoffs] turning revert off after being dropped
AFAIK revert is only valid before the drop AFAIK. But just add::before => "Element.hide(element)"to your <%= drop_receiving_element ... %> and you drag element disappears .. On 1/8/06, Michael Peters <[EMAIL PROTECTED]> wrote: I have a container 'A' which contains Draggables and a Droppable 'Trash
[Rails-spinoffs] turning revert off after being dropped
I have a container 'A' which contains Draggables and a Droppable 'Trash'. These Draggables are set with 'revert:true'. Now, if a Draggable from 'A' is dropped in the Trash, I don't want it to revert, I want it to just disappear. I've tried using draggable.destroy() but this just prevents it from b
[Rails-spinoffs] sortable floats help, please!
ok, first off. i love script.aculo.us! anywho on to business. the hoverclass doesn't seem to work in the sortables.create. and the handle doesn't work (yeah i have the id="handle" ) this is what i have .. Sortable.create("left",{dropOnEmpty:true,tag:'span',containment:["left","middle","right"]
RE: [Rails-spinoffs] extend classes
Extending the draggable code to also do resize is a tough challenge. I have a Resizable class here that works with Draggable (with some caveats): http://blog.craz8.com/articles/2005/12/01/make-your-divs-resizeable From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behal
[Rails-spinoffs] Check for prototype / scriptaculous support
Hello Everyone, Just wanted to know what would be the best way to check if scriptaculous & prototype libraries are supported on a particular browser / platform? I want to use it in such a way that I have a ajax'd and non - ajax'd version of the website. If ajax'd version (which also uses DOM
[Rails-spinoffs] extend classes
Hello, How would I correctly extend the draggable class to e.g. add some resize functions. Any input is highly appreciated. ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/ma
[Rails-spinoffs] how-to: Draggable
Was looking up the scriptaculous site, but couldn’t find more information on how to use the change option: This is what it says: Callback Description change Called whenever the Draggable is moved by dragging. The called function gets the Dragga