I want to preload 5-6 images so that I can display them when the user scrolls down (facebook-like-auto-load-on-scroll). So when the user scrolls down, the images are displayed without further loading. I used the following CSS code earlier:
img.not-load
{
display:none;
}
So, when using jQuery, I made them visible, they appeared without loading. But the problem is that, the page-loading time increased. I want to use jQuery to load the images ONLY AFTER the full page was loaded. I tried using jQuery's $(document).ready(function(){ ... });
but it worked almost in the same manner, that is loading the required images WHILE the page is loading. I hope you understand my problem. I am a beginner in jQuery and need some clue to proceed further. Your assistance is appreciated in advance...