[ 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.3 (17th December 2013) Documentation]
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.3 (17th December 2013)
Documentation | Changelog | Comments | Examples | Support – FAQs
Support
If you need support, please use the support forum and FAQs. 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.
- Upload the
lazybars
folder to the public folder on your server. -
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">
-
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/jquery.lazybars.min.js"></script>
-
Add the class name
lazybars-x
orlazybars-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="lazybars/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/jquery.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
No comments:
Post a Comment