{"id":17313052,"url":"https://github.com/mpetroff/slenderbox","last_synced_at":"2025-09-07T20:48:47.051Z","repository":{"id":6024482,"uuid":"7248390","full_name":"mpetroff/slenderbox","owner":"mpetroff","description":"Slenderbox is a lightweight and framework-free lightbox script.","archived":false,"fork":false,"pushed_at":"2014-08-23T20:20:57.000Z","size":1036,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T01:29:09.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://mpetroff.github.io/slenderbox/","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/mpetroff.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-19T22:21:17.000Z","updated_at":"2017-07-06T04:14:39.000Z","dependencies_parsed_at":"2022-09-22T06:22:40.103Z","dependency_job_id":null,"html_url":"https://github.com/mpetroff/slenderbox","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mpetroff/slenderbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fslenderbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fslenderbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fslenderbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fslenderbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpetroff","download_url":"https://codeload.github.com/mpetroff/slenderbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpetroff%2Fslenderbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274095059,"owners_count":25221431,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"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-10-15T12:45:33.780Z","updated_at":"2025-09-07T20:48:47.028Z","avatar_url":"https://github.com/mpetroff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slenderbox\n\n## About\n\nSlenderbox is a lightweight and framework-free lightbox script. Coming in at just 2kB minified and gzipped, it is considerably smaller than even the loading icon used by most similar scripts. In addition, by using the HTML5 data attribute, it can be used in valid HTML5.\n\n## How to Use\n\n1. Upload `build/slenderbox.js` and `build/slenderbox.css` to a web server.\n2. Include the JavaScript file: `\u003cscript type=\"text/javascript\" src=\"slenderbox.js\"\u003e\u003c/script\u003e`, using the correct path to `slenderbox.js`.\n3. Include the CSS file: `\u003clink type=\"text/css\" rel=\"stylesheet\" href=\"slenderbox.css\"/\u003e`, using the correct path to `slenderbox.css`.\n4. Add `data-sbox` to image links where a lightbox is desired.\n5. Add `data-sbox=\"REFERENCE\"` with a common REFERENCE to sets of links where a lightbox gallery is desired.\n6. A link's `title` becomes a caption in the lightbox.\n\n## Examples\n\nAn example is included in the `examples` directory.\n\n## Browser Compatibility\n\nSince Slenderbox is built with HTML5, CSS3, and SVG, it requires a modern browser to function.\n\n#### Full support:\n* Firefox 16+\n* Chrome 5+\n* Safari 4.1+\n* Opera 12.5+\n* Internet Explorer 10+\n\n#### Partial support:\n* Firefox 3.5+\n* Chrome 4+\n* Opera 10.5+\n* Internet Explorer 9+\n\n## License\nSlenderbox is distributed under the MIT License. For more information, read the file `COPYING` or peruse the license [online](http://www.opensource.org/licenses/MIT).\n\nThe images provided with the examples are licensed under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/).\n\n## Credits\n\n* [Matthew Petroff](http://mpetroff.net/), Original Author\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpetroff%2Fslenderbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpetroff%2Fslenderbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpetroff%2Fslenderbox/lists"}