{"id":21889277,"url":"https://github.com/mikecao/jquery-scrollable","last_synced_at":"2026-02-27T13:11:52.089Z","repository":{"id":4807600,"uuid":"5961083","full_name":"mikecao/jquery-scrollable","owner":"mikecao","description":"A jQuery plugin that enables custom scrollbars","archived":false,"fork":false,"pushed_at":"2014-01-16T06:08:50.000Z","size":305,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T19:13:12.163Z","etag":null,"topics":["javascript","jquery","jquery-plugin","scrollbar"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikecao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-26T05:14:16.000Z","updated_at":"2022-10-06T01:56:13.000Z","dependencies_parsed_at":"2022-07-10T17:17:01.004Z","dependency_job_id":null,"html_url":"https://github.com/mikecao/jquery-scrollable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikecao%2Fjquery-scrollable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikecao%2Fjquery-scrollable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikecao%2Fjquery-scrollable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikecao%2Fjquery-scrollable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikecao","download_url":"https://codeload.github.com/mikecao/jquery-scrollable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249057625,"owners_count":21205905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","jquery","jquery-plugin","scrollbar"],"created_at":"2024-11-28T11:21:09.283Z","updated_at":"2026-02-27T13:11:47.050Z","avatar_url":"https://github.com/mikecao.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery Scrollable Plugin\n\nThis plugin adds customizable scrollbars to any element. You can style the scrollbars using CSS.\n\n[View Examples](http://mikecao.github.io/jquery-scrollable/)\n\n# Usage\n\n1) Include the CSS file.\n\n    \u003clink rel=\"stylesheet\" type=\"text/css\" href=\"jquery.scrollable.css\" /\u003e\n\n2) Include the JS file.\n\n    \u003cscript type=\"text/javascript\" src=\"jquery.scrollable.js\"\u003e\u003c/script\u003e\n\n3) Add scrollbars to an element.\n\n    $(\"#content\").scrollable();\n\nFor scrollbars to appear, the content must be larger than the scrollable area. By default the plugin will set a height and width of 200px by 200px for the scrollable area. You can set the dimensions of the area by passing in optional height and width parameters.\n\n    $(\"#content\").scrollable({ width: 640, height: 480 });\n\nIf the content changes, simply call the plugin again and the scrollbars will adjust to the new content size. \n\n    $(\"#content\").append('Adding more text.').scrollable();\n\n# Options\n\nYou can modify the behavior of the scrollbars by passing in optional parameters to the plugin.\n\n    width - Width of the scrollable area. (default: 200)\n    height - Height of the scrollable area. (default: 200)\n    showButtons - Show buttons on the scrollbar. (default: true)\n    buttonSpeed - Distance to scroll in pixels when clicking on buttons. (default: 20)\n    minSliderSize - Minimum size for the scrollbar slider in pixels. (default: 10)\n    animate - Animate the scrolling when clicking on the scrollbar. (default: false)\n    scrollSpeed - Scrolling animation speed in milliseconds. (default: 300)\n    mousewheel - Enable mousewheel support. (default: true)\n    mousewheelSpeed - Distance to scroll in pixels when using the mousewheel. (default: 30)\n    overlay - Scrollbars only appear when hovering over the content. (default: false)\n    fadeSpeed - Fading animation speed in milliseconds for overlay scrollbars. (default: 300)\n    className - CSS classname to add to the scrollable element. (default: '')\n\nMousewheel support requires the [jquery.mousewheel](https://github.com/brandonaaron/jquery-mousewheel) plugin.\n\n# License\n\nThis plugin is released under the [MIT](https://github.com/mikecao/jquery-scrollable/blob/master/LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikecao%2Fjquery-scrollable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikecao%2Fjquery-scrollable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikecao%2Fjquery-scrollable/lists"}