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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:13:54+00:00 2026-05-20T20:13:54+00:00

I am trying to get jscrollpane working on a very simple page, but for

  • 0

I am trying to get jscrollpane working on a very simple page, but for some reason it is not working. An image which has normal scrollbars when I remove the script for jscrollpane, but which has no scrollbars when I include it. I wonder if someone could have a look and see if there is anything obviously wrong.

Thanks

Nick

http://nickharambee.dyndns.org/examples/jscrollpane.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<head>

<!-- styles needed by jScrollPane -->
<link type="text/css" href="jquery.jscrollpane.css" rel="stylesheet" media="all" />

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>

<!-- the mousewheel plugin - optional to provide mousewheel support -->
<script type="text/javascript" src="jquery.mousewheel.js"></script>

<!-- the jScrollPane script -->
<script type="text/javascript" src="jquery.jscrollpane.min.js"></script>

<script type="text/javascript">
    $(function()
    {
        $('.scroll-pane').jScrollPane();
    });
</script>

<style>

.scroll-pane {
    width: 200px;
    height: 200px;
    overflow: auto;
}
</style>
</head>


<html>
<body>

<div class="scroll-pane"><img src="../files/nancy.jpg"></div>

</body>
</html>
  • 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-20T20:13:55+00:00Added an answer on May 20, 2026 at 8:13 pm

    Is your jscrollpane script tag loading? Be sure that the file you’re pointing at is actually there.

    <script type="text/javascript" src="jquery.jscrollpane.min.js"></script>
    

    If you have a browser with a Javascript Console (e.g., Safari, Chrome, or Firefox w/ Firebug) then you can type $('.scroll-pane').jScrollPane and if that is undefined then the library isn’t loading properly.

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

Sidebar

Related Questions

I'm trying get some licensing code from AndroidPit.com working, but I get Unable to
I'm trying to display a JTextArea within a JScrollPane, but I just get an
I am trying get all local machine services. But why are some services missing
I am trying get the Regex right for the following scenario but have some
Well, I'm trying get some values from places.sqlite database. But when I do $
So i am trying get 2 div-containers which both should contain centered text (Both
Trying to get my arrow image to stick to the right of the anchor
I have found similar questions here on Stackoverflow, but for some reason when I
I'm trying to get JScrollPane to reinitialize on expand/collapse of my accordion found here
I am trying get date of call but it's returning value of 1.1.1970(I think

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.