Hi everybody,

For me the most interesting of Effects is to do a visual effect will
doing an ajax request
because the user didn't think that he is waiting for something.


So, In a timeout function, I create an Effect and an AJAX call:

    ...
    Effect.MoveBy( ... );
    ...

Then do an AJAX Call

    ...
    setTimeout(function(){
       getJsonRPC().callMyFunction();
    },30);
    ...

Unfortunately, the effect doesn't display on the screen, it is just
freeze. I've try this
with combinaison of setTimeout() on Effect, Ajax, both, none, it never works.

Is there a solution to force refresh ?
Best regards,
--
Jean-Philippe Encausse - R&D Jalios SA
[EMAIL PROTECTED] - http://www.encausse.com
ICQ: 109796741 - AOL: NextOne6666 - MSN: [EMAIL PROTECTED]
Mob: +336 82 12 56 99 Jalios: +331 39 23 92 83 Home: +331 39 18 90 15
Do it Once, Use it Twice ~ Do it Twice, Make It Once
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to