pepe wrote: > I think one of the things you might need is a 'timer', which will let > your code 'sleep' before calling again your 'how_finished' function. I > have never done this but remember reading about it, I googled for > 'javascript sleep timer' and one of the links I found was this: > http://www.daniweb.com/forums/thread47199.html
Be it that he is using Rails he is certainly using Prototype, or perhaps jQuery, already. I have to disagree with the use of a timer (setInterval) in this context, considering the hugely evented nature of Javascript and what already exists out there. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

