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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:57:42+00:00 2026-06-12T02:57:42+00:00

I am using the jScrollPane jQuery-Plugin on a -Box which is dynamically filled with

  • 0

I am using the jScrollPane jQuery-Plugin on a -Box which is dynamically filled with content.

My problem is that on adding new content to the front of the old content, the maintainPosition option does not work. So I wrote my own code that moves the Scrollhandle back to it’s original position.
The code works fine, but calling reinitialise() after adding the new content moves the handle to the top of the container just before my code reverts it’s position. This results in a short flicker of the displayed content which is very disturbing.

Does anyone know a method to prevent the scroll handler to move to the top after calling “reinitialise()”?

  • 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-12T02:57:43+00:00Added an answer on June 12, 2026 at 2:57 am

    I didn’t find any integrated solution to this, so I created a workaround:
    1. calculate height of prepending elements
    2. prepeding new elements
    3. instantly scrolling down a distance equal to the height of the new prepended elements

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

Sidebar

Related Questions

Im using the jscrollpane jquery plugin. My content are images that expand when you
I'm using a custom jScrollPane and dynamically populate it using jQuery from a returned
I have scrollbars using the jScrollPane plug-in for jQuery. The scrollbar works, all content
Here is some problem when i using jquery ui selectmenu and jscrollpane together. Mousewheel
I have a JScrollpane which contains a scrollable client that changes its size dynamically
I am using jScrollPane (which is a great plugin) and created several scrollbars in
I'm using the JQuery plugin jScrollPane I'm intialising it as follows.. It works initially
I am using a plugin that uses jquery to pull an rss feed, and
I'm using the jScrollPane jQuery plugin (http://jscrollpane.kelvinluck.com) to implement custom scrollbar in my application.
Using the JQuery plugin JScrollPane I have created a series of scrollable divs styled

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.