[Proto-Scripty] Re: this and setTimeout in Prototype-based class

2009-12-04 Thread fma
Thanks for the code! -- 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

[Proto-Scripty] Re: this and setTimeout in Prototype-based class

2009-12-04 Thread Eric
Well, since you're in Prototype, you can do this: this.doSomething.bind(this).delay(1000, ...); where the ... stand for other parameters of doSomething method (if they are needed). Eric On Dec 3, 3:29 pm, Daan Mortier daanmort...@gmail.com wrote: I'm sorry, I made some typos. This is

[Proto-Scripty] Re: this and setTimeout in Prototype-based class

2009-12-04 Thread fma
Thanks for the tip! -- 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

[Proto-Scripty] Re: this and setTimeout in Prototype-based class

2009-12-03 Thread fma
On 3 déc, 17:34, Peter De Berdt peter.de.be...@pandora.be wrote: Instead of relying on setTimeout, you would be better off just   rewriting the whole thing in a more Prototype way and using Ajax to   fetch the image, then use the callback to display the fullscreen   version. Thanks for you