[Rails-spinoffs] How to use JavaScript in link_to_remote?

2005-12-09 Thread Jonathan Weiss
t render time. The user enters it so I have to use JavaScript like with observe_field. The problem is that link_to_remote does not accept JavaScript. How do I solve this? Thanks, Jonathan -- Jonathan Weiss http://blog.innerewut.de ___ Rails-sp

Re: [Rails-spinoffs] Proposal of "Resizable" javascript library

2006-04-20 Thread Jonathan Weiss
Kazuki Ohta wrote: Hi, All. I've rewrite resizable.js with using more prototype.js functionality (see attached file). I'm not a expert of prototype.js, so please check the contents if possible. Works very nice in Safari! Thanks in advance. Kazuki. Jonathan -- Jonathan

[Rails-spinoffs] Drag'n'Drop out of overflow:auto containers

2006-05-28 Thread Jonathan Weiss
. Did someone implemented something like this? Thanks, Jonathan -- Jonathan Weiss http://blog.innerewut.de ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Re: [Rails-spinoffs] Drag'n'Drop out of overflow:auto containers

2006-05-29 Thread Jonathan Weiss
implemented something like this? To answer myself: Draggables.addObserver({ onStart: my_function_to_remove_overflow, onEnd: my_function_to_restore_overflow }) Jonathan -- Jonathan Weiss http://blog.innerewut.de ___ Rails-spinoffs mailing list

Re: [Rails-spinoffs] Drag'n'Drop out of overflow:auto containers

2006-05-29 Thread Jonathan Weiss
Another question on drag and drop. Is there a way to disable scrolling? There is the option 'scroll' set to false in the code but scrolling is used anyway. Jonathan -- Jonathan Weiss http://blog.innerewut.de ___ Rails-spinoffs mailing

Re: [Rails-spinoffs] Drag'n'Drop out of overflow:auto containers

2006-06-01 Thread Jonathan Weiss
Cheers, Tom Gregory wrote: I've used something similar to the following: var ListDragObserver = Class.create(); ListDragObserver.prototype = { initialize: function(element) { this.element = $(element); }, onEnd: function (eventName, draggable, event) { this.element.style.overf

Re: [Rails-spinoffs] Drag'n'Drop out of overflow:auto containers

2006-06-02 Thread Jonathan Weiss
Ryan Gahl wrote: Check out my posts from back in February on this topic... my version of dragdrop.js uses cloning to overcome this problem... http://wrath.rubyonrails.org/pipermail/rails-spinoffs/2006-February/002599.html Fantastic, this is exaclty what I needed. Did you also submit it as

Re: [Rails-spinoffs] Drag'n'Drop out of overflow:auto containers

2006-06-02 Thread Jonathan Weiss
drapndrop.js, everything is ok again. Regards, Jonathan -- Jonathan Weiss http://blog.innerewut.de ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs