{"id":21278043,"url":"https://github.com/b13/js-sliderwithprogressbar","last_synced_at":"2026-06-22T12:32:19.069Z","repository":{"id":150237749,"uuid":"36791521","full_name":"b13/js-sliderWithProgressbar","owner":"b13","description":null,"archived":false,"fork":false,"pushed_at":"2015-12-15T14:25:47.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-12-01T09:03:30.532Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-03T08:49:36.000Z","updated_at":"2016-02-22T12:05:46.000Z","dependencies_parsed_at":"2023-04-16T01:35:55.590Z","dependency_job_id":null,"html_url":"https://github.com/b13/js-sliderWithProgressbar","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/b13/js-sliderWithProgressbar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fjs-sliderWithProgressbar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fjs-sliderWithProgressbar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fjs-sliderWithProgressbar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fjs-sliderWithProgressbar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b13","download_url":"https://codeload.github.com/b13/js-sliderWithProgressbar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b13%2Fjs-sliderWithProgressbar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34649817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-21T10:09:11.461Z","updated_at":"2026-06-22T12:32:19.053Z","avatar_url":"https://github.com/b13.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"js-sliderWithProgressbar\n===================\n\nsetup up slick slider (https://kenwheeler.github.io/slick/) with preview image and bootstrap progressbar \n\n### Initialization with AMD\n\t// init slider\n\trequire(['js-sliderWithProgressbar'], function(slider) {\n\t\t\n\t\t$('.bJS_ct_slider').each(function() {\n\t\t\n\t\t\tme.slider = new slider($(this), options, sliderOptions, previewSliderOptions);\n\t\n\t\t\t// stop slider\n\t\t\t//me.slider.stop();\n\t\n\t\t\t// start slider\n\t\t\t//me.slider.start(index);\n\t\t\t\n\t\t\t// get reference to slick slider\n\t\t\t//me.slider.getSlick();\n\t\t\t\n\t\t});\n\t});\n\t\n\t\n### default options\n\t\n\tvar options = {\n\t\tprogressbarSelector    : '.bJS_progressbar'\n\t\t, slideSelector        : '.bJS_slider'\n\t\t, previewSlideSelector : '.bJS_previewSlider'\n\t\t, progressInterval     : ''\n\t\t\t// add your own progressbar animation function to sync it i.e. with a video\n\t\t\t// function will be called if the current preview slider item (\".b_previewItem\") has the data-customprogressbar=\"true\" property set\n\t\t, onCustomProgressbar : function($slide, $progressbar) {}\n\t}\n\t\n\t\t// slick slider options\n\t\t// see: https://kenwheeler.github.io/slick/\n\tvar sliderOptions = {\n\t\tslidesToShow   : 1,\n\t\tslidesToScroll : 1,\n\t\tarrows         : false,\n\t\tfade           : true,\n\t\tautoplay       : true\n\t}\n\t\n\t\t// slick slider options\n\t\t// see: https://kenwheeler.github.io/slick/\n\tvar previewSliderOptions = {\n\t\tslidesToShow   : 3,\n\t\tslidesToScroll : 1,\n\t\tdots           : false,\n\t\tfocusOnSelect  : true,\n\t\tcenterMode     : true\n\t}","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13%2Fjs-sliderwithprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb13%2Fjs-sliderwithprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb13%2Fjs-sliderwithprogressbar/lists"}