Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6630963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:28:55+00:00 2026-05-25T22:28:55+00:00

In my application i used repeater control.For that i have loaded item at a

  • 0

In my application i used repeater control.For that i have loaded item at a time.But my client wants to display first 6 items then if the user come to end of the page it will display a image named loading image and after a short time display another 6 items and again the user came to end of page it will display loading image at the end of screen and load another 6 items like that and so on. ex:Facebook loading

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:28:56+00:00Added an answer on May 25, 2026 at 10:28 pm

    It sounds like you need to use continuous scrolling, to load images as the user scrolls. Here are a couple of articles which demonstrate how to use continuous scrolling:

    http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=371

    http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/

    Here’s an example of an image gallery that uses continuous scrolling:

    <!DOCTYPE html>
    <html>
    <head>
      <style type="text/css" >
        div { border: solid 1px black; height:200px; }
      </style>
      <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
    </head>
    <body>
        <script type="text/javascript">
            var pixelsBetweenImages = 200;
            var imagesArray = {}
            var imagesArray = new Array(); // regular array (add an optional integer argument to control array's size)
            imagesArray[0] = "";
            imagesArray[1] = "";
            imagesArray[2] = "";
            imagesArray[3] = "/images/ImageThree.gif";
            imagesArray[4] = "/images/ImageFour.gif";
            imagesArray[5] = "/images/ImageFive.gif";
            imagesArray[6] = "/images/ImageSix.gif";
            imagesArray[7] = "/images/ImageSeven.gif";
            imagesArray[8] = "/images/ImageEight.gif";
    
            $(window).scroll(function() {
                var scrollpos = $(window).scrollTop() + $(window).height();
                var imageIndex = Math.floor(scrollpos / pixelsBetweenImages);
                if (imagesArray[imageIndex] != "") {
                    var div = $("#" + imageIndex);
                    div.html(imagesArray[imageIndex]);
                    imagesArray[imageIndex] = "";
                }
    
            });
        </script>
    
        <div>Visible on first load</div>
        <div>Visible on first load</div>
        <div>Visible on first load</div>
        <div id="3">3&nbsp;</div>
        <div id="4">4&nbsp;</div>
        <div id="5">5&nbsp;</div>
        <div id="6">6&nbsp;</div>
        <div id="7">7&nbsp;</div>
        <div id="8">8&nbsp;</div>
    
    </body>
    </html>
    

    Source: Is there ability to load page images partially when scroll down to it or is it just effect?

    As for displaying a loading image, just use an animated gif as the default image, and delay loading of the actual image for effect, using setTimeout or something along those lines.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that used Macro. In this macro I would like to
Say I have an application that used an ORM (I am thinking of nHibernate
I have an application used by several organizations and I want to check that
I have written a MVC web application that is used on our corporate intranet.
I have a WCF REST-service that is used by a mobile application used in
Our application used to make use of a common base form that all forms
I see an application have used Log.info = some info where are these logs
I am developing an application that has a repeater that will use dynamic templates
I have a simple C# application that uses UDP multicast in a single-receiver, single-sender
My application used to use an MFC CEdit control and we had no problems

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.