I have a simple RJS file which replaces some content with a bunch of
photos like so;
page.replace_html 'photos', :partial => 'photo_list'
Has anyone got a simple method of not firing the second line onwards
until the images have been loaded by the browser?
At the moment the :appear fires before the images are loaded so they
don't fade in.