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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T05:09:25+00:00 2026-05-15T05:09:25+00:00

I have a jQuery accordion (jQuery 1.3.2, jQuery UI 1.7.2), with between 3-12 content

  • 0

I have a jQuery accordion (jQuery 1.3.2, jQuery UI 1.7.2), with between 3-12 content panels.

Some of the content panels are large, and have lots of content. some are small, and have only a little.

When I expand any of them, the scrollbar on the div containing the accordion (it’s got css overflow: auto;) is set as if the largest of the panels is expanded.

Let’s say I have 3 panels. One has 3 lines of content, one has 20 lines, and one has 1000 lines. If I expand either of the first two, the scrollbar indicator gets very very tiny, and moves all the way to the top, even though there is nothing worth scrolling.

Is there a way to fix this?

It seems like autoHeight:false ought to do it, but that doesn’t work for me.

  • 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-15T05:09:26+00:00Added an answer on May 15, 2026 at 5:09 am

    you need to have/set a fixed wrapper height and assign to it the overflow:auto; then put the accordion inside it!

    <div id="accordion_wrapper">
       <ul id="accordion">
      <li></li>
     </ul>
    </div>
    

    the result should be similar to this:
    http://jqueryui.com/demos/accordion/#no-auto-height

    then for style the created overflow scrollbar use

    http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html

    that is very nice and work for overflow like a charm!

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

Sidebar

Related Questions

I use the jQuery UI accordion widget, and between every item I have some
I have a jquery accordion style menu that I'd like to add some shortcut
So basically, I have a jQuery accordion. I arranged the content so that it
I have created a jquery plugin to expand/collapse ul,li something like a accordion menu
Does anyone have a demo of a jQuery accordion that cycles through content automatically
I have written a plugin for Wordpress which generates a jQuery.accordion list of content
I have download the jQuery Accordion for my site. I don't have any idea
I have a Jquery Accordion and I have a asp.net GridView below that. When
I have a jquery accordion that I want to use nth-child to assign odd
I have a jQuery based accordion style navigation that I am trying to modify.

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.