Loader for images that are in another page that are gathered with ajax, in jQuery

Posted by abdullah kahraman on Stack Overflow See other posts from Stack Overflow or by abdullah kahraman
Published on 2010-06-08T08:15:09Z Indexed on 2010/06/08 8:32 UTC
Read the original article Hit count: 296

Filed under:
|
|
|

Hello.

Let's say I have a link in "index.php", when I click on that link, it loads, via ajax, a content from a page "content.php" into a div element in "index.php", that has an id of "#content". That content in "content.php" has large images. I want to display an image loader, say "ajax-loader.gif", instead of those large images, until the images are downloaded by client.

( I know how to have an image loader .gif for the images on "index.php". )

How can I achieve this?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about AJAX