Hello,

I am using the following code:

  new Ajax.Request('ajax.php', 
                    { parameters: { task: 'home' },
                      onSuccess: function(transport)
                      {
                        $('home_montage').update(transport.responseText);
                        new Effect.Appear(  'home_montage',
                                          { duration: 3,
                                            from: 0,
                                            to: 0.8,
                                          });
                       }
                     }
                   );

The transort.responseText contains images and I would like, the effect Appear 
to start only once all the images are loaded in the cache of the browser. How 
could I achieve that?

Thanks







      
____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to