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

2009-12-03 Thread Peter De Berdt
On 02 Dec 2009, at 15:25, fma wrote: But it does not work. In the _show() method, the call to this._flashNavButtons() leads to an error (this._flashNavButtons() is not a function). I think I understand why: when called from the timeout mecanism, 'this' no longer exists, or does not point

[Proto-Scripty] InPlace[Collection]Editor deprecation layer

2009-12-03 Thread joe t.
i came across this block of text in Scriptaculous controls.js 1.8.2 . 3: // DEPRECATION LAYER FOR InPlace[Collection]Editor! // This only exists for a while, in order to let // users adapt to the new API. Read up on the new // API and convert your code to it

[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

[Proto-Scripty] Using Ajax.Request to fetch an image

2009-12-03 Thread fma
Hello, Could someone explain me how to fetch an image using Ajax.Request? I can only find how to retreive text/xml datas, but not binary datas... Thanks, -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send

[Proto-Scripty] document.write() vs Element/appendChild()

2009-12-03 Thread fma
I'm writing a javascript object to build a widget (which is reused in several pages). I first used document.write to create a few div. Then, I switched to Element to directly create the DOM. But in this last case, things don't work find under IE (but all is OK with Firefox). The problem is when I

[Proto-Scripty] Re: document.write() vs Element/appendChild()

2009-12-03 Thread fma
BTW, what is the tag to format code on this group? -- 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