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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:48:47+00:00 2026-06-17T23:48:47+00:00

So I want to customize a scrollbar and I found tiny scrollbar, which is

  • 0

So I want to customize a scrollbar and I found tiny scrollbar, which is a jquery plugin:

http://baijs.nl/tinyscrollbar/

The problem is, I can’t get it to work no matter what. I included Jquery, and the jquery.tinyscrollbar.js files into the same folder as my html and css, as well as included them in the header section, but I can’t get it to work…

when I open the file via client side, all I get is the regular looking scrollbar as you can see below:

enter image description here
Here’s my code:

HTML

<html>
<head>
    <link rel="stylesheet" type="text/css" href="scrolltest.css" />
    <script src="jquery.js"></script>
    <script src="jquery.tinyscrollbar.js"></script>
    <script>
        $(document).ready(function() 
            {
                $("#chatlist").tinyscrollbar();
            });
    </script>
</head>
<body>
    <div id="chatlist" >
        <ul>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
            <li>item</li>
        </ul>
    </div>
</body>
</html>

CSS

    div#chatlist {
        width: 50px;
        height: 140px;
        border: 1px solid black;
        overflow:scroll;
     }

Any help would be greatly appreciated!

  • 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-17T23:48:48+00:00Added an answer on June 17, 2026 at 11:48 pm

    As explained in the official site, you need to define a scrollbar
    and a viewport class elements in your code. Try the HTML code below:

       <div id="chatlist">
       <div class="scrollbar"><div class="track"><div class="thumb"><div class="end"></div></div></div></div>
       <div class="viewport">
            <div class="overview">
            <ul>
                <li>item</li>
                <li>item</li>
                <li>item</li>
            </ul>
            </div>
        </div>
        </div>
    

    And don’t forget to amend your CSS as explained in the site too.

    #chatlist { width: 520px; clear: both; margin: 20px 0 10px; }
    #chatlist .viewport { width: 500px; height: 200px; overflow: hidden; position: relative; }
    #chatlist .overview { list-style: none; position: absolute; left: 0; top: 0; }
    #chatlist .thumb .end,
    #chatlist .thumb { background-color: #003D5D; }
    #chatlist .scrollbar { position: relative; float: right; width: 15px; }
    #chatlist .track { background-color: #D8EEFD; height: 100%; width:13px; position: relative; padding: 0 1px; }
    #chatlist .thumb { height: 20px; width: 13px; cursor: pointer; overflow: hidden; position: absolute; top: 0; }
    #chatlist .thumb .end { overflow: hidden; height: 5px; width: 13px; }
    #chatlist .disable{ display: none; }
    .noSelect { user-select: none; -o-user-select: none; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; } 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to customize this jQuery plugin. There is a type JS variable. On
I want to customize a .NET build process so that I can run an
i have a jquery slider function and i want to customize it. my requirement
I have installed Wix 3.5 and i want to customize some dialogs, where can
I want to customize a ListField in BlackBerry which would be able to list
I want to customize Edit Field like in this link http://www.hostingpics.net/viewer.php?id=44669634im.png . I find
I want to customize the 'new' and 'edit' pages in rails scaffolding. Where can
I want to customize the work items on TFS, I'm using microsoft scrum 2.0
I want to customize the ckeditor image plugin. I already added two radio boxes
I want to customize the slider control but can't find any thing to apply,

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.