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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:42:34+00:00 2026-05-14T20:42:34+00:00

OK – I’ll admit, I’m quite a beginner in this jQuery-department. I’ve probably made

  • 0

OK – I’ll admit, I’m quite a beginner in this jQuery-department. I’ve probably made some amateur mistake, but hey, you gotta learn somewhere! 🙂

So I’m using jScrollPane: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html

I want to use it style the scrollable area in my second column. Specifically, I would like to apply and format the scrollbars on the div #ajaxresults

My page is… rather jQuery heavy. I don’t know if any variables are conflicting or something… in fact I really have no idea at all why this isn’t working.

Take a look at my problematic page: http://furnace.howcode.com

In the header, I’ve set this to go:

    <!-- Includes for jScrollPane --> 
<script type="text/javascript" src="http://localhost:8888/js/jquery.mousewheel.min.js"></script> 
<script type="text/javascript" src="http://localhost:8888/js/jScrollPane.js"></script> 
<link rel="stylesheet" type="text/css" media="all" href="http://localhost:8888/stylesheets/jScrollPane.css" /> 
<script type="text/javascript"> 
$(function() {
    $('#ajaxresults').jScrollPane();
});
</script> 

(I’ve changed localhost on the server copy though)

Nothing ever seems to work with the #ajaxresults div. I’ve set, as the jScrollPane docs say, overflow:auto on it but still no luck. I find that when jScrollPane DOES seem to ‘run’ it just moves the div down about 100 pixels. Try it for yourself.

Perhaps someone could help? There’s quite a few jQuery plugins there so I don’t know if something’s colliding/crashing etc…

Please note the site is still in development between myself and a friend, which explains the personal messages we submit to each other (‘Hi Donnie!’ etc. 😀 ). Also, when you view the page nothing may appear in the second column for a few seconds – it’s just fetching the data via Ajax. So give it a little time.

Thanks very much!

Jack

  • 1 1 Answer
  • 2 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-14T20:42:35+00:00Added an answer on May 14, 2026 at 8:42 pm

    After viewing your code, the first thing that strikes me is that you’ve placed JS code inside the “ajaxresults” div. Generally it’s best to keep your code outside the target div. Place the empty div like so:

    <div id="ajaxresults" class="scroll-pane"></div>
    

    At the bottom and use jQuery to populate with something like .append() or .html(). There are lots of options. I’m sure there are more things I could knit pick but this seems to be first major change I’d suggest.

    This might be a bit of a process.

    Also, if you don’t already have Firebug, I might suggest getting a copy. It can really be helpful in jQuery debugging.

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

Sidebar

Related Questions

I am generating some text to be shown on a web-site, and use HttpUtility.HtmlEncode
I am currently scraping some data from the internet and converting into xml documents.
I am currently running into a problem where an element is coming back from
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is
I have a JSP page retrieving data and when single or double quotes are
An extension to my previous question: Text cleaning and replacement: delete \n from a
I've got the following login script.. <?php $name = $_POST[name]; $password = $_POST[password]; $query
So to start, I have an array of XML files. These files need to
Have a webpage that will be viewed by mainly IE users, so CSS3 is
I'm trying to craft a Java regular expression to split strings of the general

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.