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 answer.

I'm re-writing my code, using more Prototype features as I discover
them ;o)

> Now if you still just want to get the setTimeout working, you probably  
> could just use:
>
> setTimeout(function() {this._show}.bind(this),300);

This works fine, but I'll have a look at Ajax.Request to fetch the
image...

Thanks for your answer!

--

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.


Reply via email to