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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:10:53+00:00 2026-06-10T05:10:53+00:00

I am developing a web app which runs on a (windows) tablet. I won’t

  • 0

I am developing a web app which runs on a (windows) tablet. I won’t go into too much detail, but basically the user has a list of tasks and checks each one off when it’s done.

When they check a task, I use jQuery (scrollTop()) to scroll so that they can click in the same place for the next task, instead of having to manually scroll (which is tricky on this particular tablet).

The problem is, that when they can to the last 5 or 6 tasks, it’s the end of the div, so the scrolling stops, which is weird because they have been used to clicking in the same place.

I would like to keep it scrolling, but I am not sure how to.

My guess is just to add whitespace at the bottom, but then I am not sure how to detect when it’s reached the bottom in order to add the whitespace.

  • 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-06-10T05:10:55+00:00Added an answer on June 10, 2026 at 5:10 am

    On page load find the last list item. Then add whitespace so that it can scroll to the top of the page. I do this for one of my websites so that when people visit anchors, they appear at the top of the page. Hate it when they don’t myself!

    var $lastinput = $('input').last();
    if ($lastinput.length > 0) {
        var headerTop = $lastinput.offset().top;
        var spacing = $(window).height() - ($('body').height() - headerTop);
        $('#setpageheight').height(spacing);
    }
    

    At the bottom of the content area I have a zero height div called setpageheight. I give this a height as necessary.

    http://jsfiddle.net/Ge7nM/

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

Sidebar

Related Questions

I am developing a web app for which I plan to use InnoDB. However
I'm developing a web app for which the client wants us to query their
I'm developing a web app using a cakephp. I've one function in which I
I'm developing web app using Spring Integration to route my messages, but I have
I'm developing a QA web-app which will have some points to evaluated assigned to
Suppose I'm developing a web app that is heavily dependent on JavaScript and which
I am developing an asp.net web app in which I am using a span
I am developing an asp.net MVC web app in which I am using Linq
I am developing web app using asp.net. I have plenty of javascript files which
I am developing a web app in which I am trying to use the

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.