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 809839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:47:31+00:00 2026-05-15T00:47:31+00:00

I have noticed in some site such as http://mashable.com that when you open page

  • 0

I have noticed in some site such as http://mashable.com that when you open page and try to scroll it , it appear to load images when you reach it .. i don’t know if it’s a just flicker effect or it’s really done to make less load of images till scrolling to it ?

  • 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-15T00:47:32+00:00Added an answer on May 15, 2026 at 12:47 am

    Here is a script to get you started. You’ll need to do something with the image urls rather than just displaying them, but I’m sure you will figure this out…

    <!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>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have noticed on some Apple sites like: http://help.apple.com/mobileme/index.html#mm5b08c671 they have custom scrollbars using
While implementing some security aspects with Spring Security, I have noticed that both Authentication
I noticed that some enumerations have None as a enumeration member. For example what
I noticed that some stylesheets have something like this: body { font-size: 62.5%/1.2em; }
I have 100 web servers and noticed that some of them have request filtering
I've noticed that some browsers have trouble with margins, especially when an element is
I have noticed that my site in Cakephp is very very slow. I have
Im writing a review site where the community rates posts. I have noticed that
I've noticed some site visitors are arriving at www.example.com/?fwcc=1&fwcl=1&fwl=1 . What does this indicate?
I have noticed that while debugging my site, any request that results in a

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.