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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T19:34:01+00:00 2026-05-18T19:34:01+00:00

I have added jScrollPane to a div that already has a certain amount of

  • 0

I have added jScrollPane to a div that already has a certain amount of jQuery attached to it.

jsFiddle example here.

The scrollbar styling appears, but the scrollbar doesn’t move, in-fact it’s not even ‘grabbable’ and my existing functionality fails. However, I don’t get any JS errors.

Comment out $('.block-product-gallery .block-content').jScrollPane(); in the html example above and my previous functionality returns (although in jsFiddle the click function doesn’t work – it does in my local browsers).

My first suspect is my hacky .scroll monitoring, but removing it doesn’t solve the problem and without any clear errors I’m increasingly stumped…

  • 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-18T19:34:02+00:00Added an answer on May 18, 2026 at 7:34 pm

    I’ve just had a play with your jsfiddle and got it a lot closer to working here:

    http://jsfiddle.net/ZkAw8/1/

    The main thing that was causing problems was the position: absolute on the rule for .block.block-product-gallery.non-static .block-inner .block-content .products. This meant that jScrollPane was having trouble calculating the width of it’s contents (since the contents were positioned absolutely they weren’t taking up any space inside the scrollpane and hence scrolling wasn’t necessary.

    I also changed the overfow-x and overflow-y to just plain overflow – I haven’t done much testing with the direction specific overflows and they may not work correctly.

    I’m not sure exactly what your productGallery plugin is meant to be doing but I think that it might not be working… Rather than listening for the scroll event you can try listening for the jsp-scroll-y event (see events in jScrollPane)

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

Sidebar

Related Questions

Java Newbie here. I have a JFrame that I added to my netbeans project,
I have a JTable that is within a JScrollPane. Rows are added to the
I have the below source that uses the standard jquery, jscrollpane and raphael js
I have added a checker to ensure that all fields in a form have
I have an interface that has multiple small JTables stacked on top of each
I have 9 jbuttons added to jpanel and the panel added to jscrollpane and
I have added the following code for displaying a scrollbar to my textfield. But
I have a div that I need to be able to scroll. Unfortunately the
I have designed a Swing form. It consists of a JScrollPane that itself contains
I have a JPanel added to a JViewport , and the panel has several

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.