Re: [Rails-spinoffs] Scriptaculous + Prototype shrunk to < 50Kb

2006-01-05 Thread danilocelic
Jon Tirsen wrote: Most proxy servers don't support gzip-compressed so corporate users still aren't going to benefit from mod_gzip. :-( But wouldn't corporate connections more than likely be on a fatter pipe (especilly those using sophisticated enough to be using proxies) so the weight of the

Re: [Rails-spinoffs] gmail attached file field magic

2006-01-04 Thread danilocelic
Tarek Ziadé wrote: Hello, does someone knows how gmail does file upload when the attached files are automatically saved in drafts ? I am trying to do it in Scriptalicious/Prototype but I don't see how they get the file on the system using js... I don't know how (if) it can be done with Proto

Re: [Rails-spinoffs] Re: Status of Prototype

2006-01-03 Thread danilocelic
Werner Punz wrote: Well exactly, and in case of earlier prototype versions the array was broken that way, now if another library used for(var p in anarray) the for iterated wrongly. Thanks for the follow ups Ryan and Werner. Werner, are you saying that folks use a "for in" loop to iterate over

Re: [Rails-spinoffs] Re: Status of Prototype

2006-01-03 Thread danilocelic
Werner Punz wrote: The most famous example being the struts client side validation which basically was disabled by this, to my knowledge. I know this problem has been fixed. But one of the main critique points by the main critique was, that there are still many of those extensions which could

Re: [Rails-spinoffs] Deconstruct

2005-12-23 Thread danilocelic
Thorben Schmitt wrote: hi Folks, I have a little question. I can't found any decostruct Method in the Documentation. eg i use: s1 = Sortable.create("pagetree", ..); now i wanna deconstruct this object. s1 = null doesn't work If you mean stop an element from being sortable, then I thin

Re: [Rails-spinoffs] Performance issues with Prototype

2005-12-20 Thread danilocelic
Gregory Hill wrote: Imagine the situation, when loop body removes one element from the array. It's quite common situation, for example when you operate on select tag and remove options dynamically in loop body, in each loop pass. Thus the length of option collection has changed, and the length mu

[Rails-spinoffs] hoverclass doesn't seem to be set from Sortable.create

2005-12-16 Thread danilocelic
Hey folks, I'm having a little trouble with the hoverclass parameter of the Sortables.create method. Unfortunately I can't post a demo page at this time, but I'm creating three lists with the following code: Sortable.create("listOne", {dropOnEmpty:true,containment:["listOne","listTwo",