Loader for images that are in another page that are gathered with ajax, in jQuery
- by abdullah kahraman
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?