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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:24:10+00:00 2026-05-22T03:24:10+00:00

I asked this over at the jQuery Tools official forum last week, but it’s

  • 0

I asked this over at the jQuery Tools official forum last week, but it’s definitely not as active as stackoverflow, so thought I would ask over here as well.

On our project detail pages, we’re dynamically loading content in that uses a vertical scroller to navigate through. Problem is that the height of the vertical scroller always seems to be one item too tall. I cannot find any way to affect this programmatically.

If I set it circular to true, it seems to have the correct height, but we don’t want it to be continuous/circular.

Example here:
http://www.centerline.net/projects/detail/?p=21

Unminified JS is here:
http://www.centerline.net/lib/js/site-unmin.js

Any ideas?

Here’s the view of what it should look like when scrolled to the last item (down arrow disappears, and does not allow a blank area below the last thumbnail.
Correct Vertical Scroller Stop Point

  • 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-22T03:24:10+00:00Added an answer on May 22, 2026 at 3:24 am

    The solution above looked like it would have worked, but also found a solution here:

    http://www.jasoncarr.com/technology/jquery-tools-scrollable-stop-scrolling-past-the-end

    Actual code for my site was as such:

    $(function() {
      // Initialize the Scrollable control
      $(".scroll").scrollable({vertical:true, mousewheel:true, keyboard:true });
    
      // Get the Scrollable control
      var scrollable = jQuery(".scroll").data("scrollable");
    
      // Set to the number of visible items
      var size = 2;
      // Handle the Scrollable control's onSeek event
      scrollable.onSeek(function(event, index) {
    
        // Check to see if we're at the end
        if (this.getIndex() >= this.getSize() - size) {
    
          // Disable the Next link
          jQuery("a.next").addClass("disabled");
        }
      });
    
      // Handle the Scrollable control's onBeforeSeek event
      scrollable.onBeforeSeek(function(event, index) {
    
        // Check to see if we're at the end
        if (this.getIndex() >= this.getSize() - size) {
    
          // Check to see if we're trying to move forward
          if (index > this.getIndex()) {
            // Cancel navigation
            return false;
          }
        }
      });
    
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a continuation from the previous stackoverflow jQuery question I asked, but I
This question seems to be asked freqeuently over the internet but I still can't
I know this question as been asked over and over but it's still quite
I've seen this question asked over at the Raphael Google Groups, but after hours
I've asked this question over on the MSDN forums also and haven't found a
(I asked this question in another way , and got some interesting responses but
I asked this question a while back but now I'm looking to implement an
I originally asked this question on RefactorMyCode , but got no responses there... Basically
I have just asked this question an hour ago but with regards to IE8
This is a follow-up question to a different question I asked not too long

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.