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

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

2006-06-02 Thread Jonathan Weiss
a patch? Now I just have to solve a problem with IE. When I define my Draggables, their layout gets changed in IE... Thanks, Jonathan ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo

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

2006-06-01 Thread Jonathan Weiss
reserve the overflow CSS. So that the overflow style is still in place but not triggered by the drag. TAG Regards, Jonathan ___ 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
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-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

[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] 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

RE: [Rails-spinoffs] Slideshow beta

2006-01-27 Thread Jonathan Koren
On Thu, 2006-01-26 at 12:49 -0700, Gregory Hill wrote: > > From:[EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Alex Duffield > > Sent: Thursday, January 26, 2006 12:12 PM > > To: rails-spinoffs@lists.rubyonrails.org > > Subject: Re: [Rails-spinoffs] Slideshow beta > > > > That i

RE: [Rails-spinoffs] anyone interested in an Effect.Slideshow?

2006-01-13 Thread Jonathan Koren
On Fri, 2006-01-13 at 14:13 -0700, Gregory Hill wrote: > > My idea, coupled with the 'Ajax to get the next image' from Casey > would > > alleviate the image loading problem. The next image would just be > > another element inserted as a child in my scheme. > > So, the ajax call would return the e

[Rails-spinoffs] re: Good OOP and JS books / tutorials?

2006-01-12 Thread Jonathan Boutelle
>>Can anyone recommend good books, online tutorials, or any other learning >>materials for Javascript - specifically Object Oriented Programming using >>JS? I've found the following site is a nice introduction for javascript newbies who have an OO background: http://www.multitask.com.au/people/

Re: [Rails-spinoffs] divider id of container

2006-01-11 Thread Jonathan Koren
On Wed, 2006-01-11 at 12:06 -0400, Francisco Calderon wrote: > Hi there, i need to drag an draggable element to an child div node > inside an another div container, but i create the child node dynamicly > with ids like ' div_ + i ' where 'i' is a incremental variable, thats > the problem because i

[Rails-spinoffs] Re: Rails-spinoffs Digest, Vol 8, Issue 25

2006-01-09 Thread Jonathan Boutelle
For removing or changing a given element, these two functions (from the element object) seem the business remove: function(element) { Element = $(element); Element.parentNode.removeChild(element); }, update: function(element, html) { $(Element).innerHTML = html.stripScripts();

[Rails-spinoffs] Replacing an html chunk with a different html chunk

2006-01-07 Thread Jonathan Boutelle
All, I'm a big fan of the Insertion.* classes in prototype (Insertion.Before, Insertion.After, Insertion.Top, Insertion.Bottom). These classes solve the problem of adding new html to existing html in the desired place. Very useful. But what about replacing one chunk of HTML with another? Or

Re: [Rails-spinoffs] using slidedown and slide up in a multiple level menu

2005-12-23 Thread Jonathan
that's probably what you need : http://www.holoweb.net/laurie/jstree/jstree.html Jon. Chad Henderson wrote: can someone take a look at a menu I am trying to build using slideUp and slideDown.  I finally got it working in IE and now in Firefox,  it works fine on the first level,  but not o

Re: [Rails-spinoffs] Form.serialize and Ajax.Request->fileserialization and encoding

2005-12-14 Thread Jonathan
No you can't and you don't want to, it would be a security flaw. Javascript just can't read files on your computer otherwise any website could get all your personal data. Gregory Hill wrote: I’d bet money that they use a hidden iframe. Gmail already uses that to avoid breaking the back butto

[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