[Rails-spinoffs] Re: Changes to Form in r5449

2006-12-11 Thread RobG
Martin Bialasinski wrote: On 12/11/06, RobG [EMAIL PROTECTED] wrote: Changing the elements nodeList to an Array means that the collection is no longer live - whether that was intended is another unknown. Yes. Prototype never returns a NodeList but an (automatically Enumerable extended)

[Rails-spinoffs] Re: Issue using the scriptaculous loader, caused by document.write...

2006-12-11 Thread Thomas Fuchs
So my problem is kinda hard to explain, i hope some of you will understand it and be able to help me a bit. I thought of using DOM methods to include the script nodes, but as written in the comment, Safari 2.0 will choke on that, and moreover, the script tags included wont be included and

[Rails-spinoffs] Re: Draggables.activate()

2006-12-11 Thread Tom Gregory
The following snippet is from an working application (although I don't vouch for this edited down snippet). In this instance, I was re-creating the Draggable several levels higher in the tree than the original list to overcome the overflow:scroll problem. Something similar should work for

[Rails-spinoffs] Re: Shrinking Prototype's timed form observer code

2006-12-11 Thread Martin Bialasinski
On 12/9/06, Peter Michaux [EMAIL PROTECTED] wrote: But we are still distributing the code every time it needs to be used If you don't use sane clientside caching. So Prototype made the decision to have a cryptic API It is not. and long-named, short-lived local variables. Seems like the

[Rails-spinoffs] Re: Changes to Form in r5449

2006-12-11 Thread Peter Michaux
On 12/10/06, Christophe Porteneuve [EMAIL PROTECTED] wrote: You'll find a lot of people stating that inline-doc'ing a library intended for such wide use will bump up its download size by a factor of 2x or 3x... Both inline comments and helpful use of whitespace in a script fall into the same

[Rails-spinoffs] Re: Issue using the scriptaculous loader, caused by document.write...

2006-12-11 Thread Fred
Thomas Fuchs wrote: Fred said: dfortier: So my problem is kinda hard to explain, i hope some of you will understand it and be able to help me a bit. I thought of using DOM methods to include the script nodes, but as written in the comment, Safari 2.0 will choke on that, and moreover,

[Rails-spinoffs] Re: AJAX.editInPlace in RoR

2006-12-11 Thread warhero
thanks man. i'll check those out. On Dec 10, 2:55 pm, Ernesto Jiménez Caballero [EMAIL PROTECTED] wrote: You have the methods well documented here: http://api.rubyonrails.org/classes/ActionController/Macros/InPlaceEdi...http://api.rubyonrails.org/classes/ActionView/Helpers/JavaScriptMacro...

[Rails-spinoffs] Re: Issue using the scriptaculous loader, caused by document.write...

2006-12-11 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred wrote: Do you have a reference for that? I've searched both Firefox and Mozilla bug lists for getElementsByTagName but found nothing relevant. I remember I had a long conversation some time ago on this issue, and lots of bugzilla tickets

[Rails-spinoffs] Re: Issue using the scriptaculous loader, caused by document.write...

2006-12-11 Thread Fred
Marius Feraru wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred wrote: Do you have a reference for that? I've searched both Firefox and Mozilla bug lists for getElementsByTagName but found nothing relevant. I remember I had a long conversation some time ago on this issue, and

[Rails-spinoffs] IE7 Drag Drop

2006-12-11 Thread Nanban
Hi, Has anybody facing this problem? I am using Prototype JavaScript framework, version 1.5.0_rc0 and using the Drag and Drop functionality in my page. I am displaying the index no (1., 2., 3., for each row) and have table inside the li and it is working fine with Firefox. However, with ie7,