Lazybars – Themeable scrollbar jQuery plugin (Miscellaneous)

Lazybars is an easy to use, themeable scrollbar, jQuery plugin.
You can implement these scrollbars just by adding a class name to to any scrollable element on your website.
Make use of the themes that are bundled with Lazybars, or create your own with some simple CSS.
One regular license allows you usage on one website.

Latest Lazybars version 1.2 (9th December 2013)

Documentation | Changelog | Support | Comments

Support

If you need support, please use the support forum. I will get back to you as soon as possible. Any direct messages may be delayed response.

Quick start guide

Because this is a jQuery plugin, you will need to be using jQuery on your website.

  1. Upload the lazybars folder to the public folder on your server.
  2. Link Lazybars CSS to your site, in the <head> tag.

    <!-- Lazybars Default stylesheet -->
    <link rel="stylesheet" type="text/css" href="lazybars/css/lazybars.min.css">
  3. Add Lazybars Javascript below the jQuery library.

    <!-- jQuery -->
    <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <!-- Lazybars Javascript -->
    <script src="lazybars/js/lazybars.min.js"></script>
  4. Add the class name lazybars-x or lazybars-y to any scrollable element in your HTML

    <div class="lazybars-y">
        ...
    </div>

Example HTML

<!DOCTYPE html>
<html>
    <head>
        <title>Lazybars example page</title>
        <!-- Lazybars Default stylesheet -->
        <link rel="stylesheet" type="text/css" href="css/lazybars.min.css">
    </head>
    <body>
        <div class="lazybars-y">
            ...
        </div>
        <!-- jQuery -->
        <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
        <!-- Lazybars Javascript -->
        <script src="js/lazybars.min.js"></script>
    </body>
</html>

Options

There are multiple options so you can customise Lazybars. You can make use of these options using data attributes.

<div class="lazybars-y" data-position="left" data-fade="true" data-offset="-5">
    ...
</div>

For a full list of options and advanced implementation please take a look at the Documentation

Download Lazybars – Themeable scrollbar jQuery plugin (Miscellaneous)

Leave a Reply

Your email address will not be published. Required fields are marked *