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

  • Home
  • SEARCH
  • 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 714385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:04:08+00:00 2026-05-14T05:04:08+00:00

Do you have any idea how to implement an indefinite scroll widget like google

  • 0

Do you have any idea how to implement an indefinite scroll widget like google reader on iGoogle, which loads data dynamically and the scroll bar is replaced with a pair of up and down arrows.

I have a html structure like this:

<div id="note_column">
    <ul class="messages">
        <li class="note">
            ....
        </li>
        .
        .
        .
    </ul>
</div>

And I tried to make indefinite scroll work inside this div, doing something like this:

$(".messages).wrap("<div id='scrollbox'></div>"); 
$("#scrollbox").css({
    'height': '50em',
    'overflow': 'scroll',
    'overflow-y': 'hidden'
}).scroll(function() {
    // judge if this is a scroll-to-bottom
    // load list items if it is so
});

However 🙁 Hidding the vertical scroll bar seems to disable the scroll event handler.

What puzzles me most now is how to hide the scrollbar and keep the scroll event handled.

Please tell me what might be wrong with my implementation.

Thanks in advance.
alt text http://img2.douban.com/view/photo/photo/public/p439408255.jpg

  • 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-14T05:04:09+00:00Added an answer on May 14, 2026 at 5:04 am

    Well, there are two aspects…

    1) Infinite scroll

    This is a basic AJAX implementation. When you detect that the last few items are in the viewable area, you make an AJAX request to get the next “n” items to add to the bottom of the list.

    2) Replace scrollbars with up/down arrows.

    This will involve using the CSS rule “overflow: hidden;” on the container to ensure no scrollbars are show. You then add to images for up / down and on the click event you change the scroll position of the container.

    If you get stuck, please feel free to show how far you have got / what you are stuck on. If you just want someone to write it for you, I would have to charge a fee! (Or indeed open source the work – as I have done here…)

    http://plugins.jquery.com/project/infinitescroller

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

Sidebar

Ask A Question

Stats

  • Questions 375k
  • Answers 375k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Grab Process Monitor and you'll be able to see the… May 14, 2026 at 8:14 pm
  • Editorial Team
    Editorial Team added an answer Doh! For others having similar issues... Maybe you downloaded a… May 14, 2026 at 8:14 pm
  • Editorial Team
    Editorial Team added an answer import re string = "blabla Oxygen: 10.10 blabla" regex_oxygen =… May 14, 2026 at 8:14 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.