Simple jQuery Plugin For Top Scroll Bar

File Size: 172 KB
Views Total: 1537
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Simple jQuery Plugin For Top Scroll Bar

Top Scrollbar is a lite jQuery plugin to add an extra scroll bar on the top of the div element.

How to use it:

1. Create an div element containing an image that overflows the element's content area.

<div class="demo"> <img src="image.jpg"> </div>

2. Make the div element scrollable horizontally.

.demo {
width: 400px;
overflow-x: scroll;

3. Include the jQuery javascript library and jQuery top scrollbar plugin at the bottom of the page.

<script src=""></script> 
<script src="jquery.top_scrollbar.js"></script> 

4. Call the plugin and done.

$(document).ready(function () {

Change log:


  • Update jquery.top_scrollbar.js


  • Update jquery.top_scrollbar.js

This awesome jQuery plugin is developed by speranskydanil. For more Advanced Usages, please check the demo page or visit the official website.