Re: [Proto-Scripty] License link on main page not working
Hi there, I'm not part of the prototype team, but the link to the license should probably be: http://www.prototypejs.org/license Good luck, Rudi. On Tue, Jan 11, 2011 at 10:59 AM, JaiminiRam jaimini...@gmail.com wrote: Hi, We are trying to use this software but are unable to proceed unless we verify the license terms for compliance. The link provided at the bottom of the main page http://www.prototypejs.org/ for the MIT (source code) does not work. Could you please fix this link? Regards, Jaimini Ram Arcot - a CA Technologies Company. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: License link on main page not working
Hi, sorry, but I cannot really help you with this. As I said I'm not from the prototype team nor anywhere related to them, I'm just using their library. Cheers, Rudi. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] upload plugin and photo(image) gallery plugin
Hi Walter, you write: As far as the progress meter goes, the only other issue there is that you usually also have to have a Perl module on your server to monitor the upload progress. PHP won't do it, not sure about Ruby or Python. It depends a LOT on your server whether you get a realistic idea how much of the file is actually there, and you generally need another process pinging the server periodically for updates. I personally just put a spinner or barber pole up and call it done. I don't see why this is related to the programming language you run one the server in order to calculate the uploaded percentage. I programmed this in php and java (servlet) without problems. I uploaded via an iframe and on the server side periodically wrote javascrip- tags to that iframe. The code in those javascript tags gets executed whenever received. They look like: javascript parent.tellUserPrecentageLeft(33); /javascript Worked for me in all normal browsers. Cheers, Rudi -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: number sign (#) in a select option - gets truncated
Easy, you're welcome. On Jan 14, 2011 5:20 PM, ehickstech ehickst...@gmail.com wrote: Brilliant!! Thank you so much! On Jan 14, 10:39 am, Rüdiger Kaatz rudirak...@gmail.com wrote: Hi there, I suppose the mistake is in passing in a string to parameters. Better do it like this: new Ajax.Request(/edit/doorhangers/add_ajax/, { encoding: 'UTF-8', method: 'post', parameters: {qty: $F('qty'), size: $F('size'), stock:$F('stock'), sides:$F('sides'), price: $F('price') } , onComplete: showResponse }); } Found onhttp://www.prototypejs.org/api/ajax/options Cheers, Rudi. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculous%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] document.fire() not defined
Hi there, is this the first call to the prototype library? Maybe it does not load correctly? -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] local variables for for() array iteration
Hi there, there are not stupid questions of course. They could be a bit more prototype-related though... All you should have to do is use var in order to make a variable local to the function it is declared in. In your example that would be: for(var i=0;iarray_b_length;i++) On Wed, Jan 19, 2011 at 2:31 PM, Ran Berenfeld berenfeld...@gmail.com wrote: Hello all sorry for this stupid question, but all these talks about the *this pointer and the variable scope in js got me confused. support I have 2 functions, one calling the other inside array iteration. can they both use the same local variable for array index ? should I use a var statement ? for example : function B() { for(i=0;iarray_b_length;i++) { ... } } function A() { for(i=0;iarray_a.length;i++) { B() ... } } Thanks Ran -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] local variables for for() array iteration
And last but not least, if this is a prototype mailing list you should of course use prototype, so your loops would look like this: $A(array_b_length).each(function(arrayElement) { // do something with the element... }); -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: local variables for for() array iteration
Hmm, it' is the prototype way of doing it. I suppose it has to do with writing beautiful code, but that might be a matter of taste. Some like it and some don't :-) On Wed, Jan 19, 2011 at 11:59 PM, T.J. Crowder t...@crowdersoftware.com wrote: @Rüdiger: And last but not least, if this is a prototype mailing list you should of course use prototype, so your loops would look like this: $A(array_b_length).each(function(arrayElement) { // do something with the element... }); Whether I'm using Prototype or not, I don't need to create a function and incur the overhead of a function call on every iteration (not to mention the complications around `this`) just to loop through an array. People are free to do that if they like, but it's not remotely necessary and it's certainly not always appropriate. There's nothing wrong with a nice, simple `for` loop. Just my two cents. -- T.J. Crowder Independent Software Engineer tj / crowder software / com www / crowder software / com On Jan 19, 3:18 pm, Rüdiger Kaatz rudirak...@gmail.com wrote: And last but not least, if this is a prototype mailing list you should of course use prototype, so your loops would look like this: $A(array_b_length).each(function(arrayElement) { // do something with the element... }); -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.