{"id":18985662,"url":"https://github.com/bqworks/grid-accordion-jquery","last_synced_at":"2025-04-19T20:34:55.965Z","repository":{"id":57159747,"uuid":"388844859","full_name":"bqworks/grid-accordion-jquery","owner":"bqworks","description":"jQuery plugin that combines the functionality of a grid with that of an accordion.","archived":false,"fork":false,"pushed_at":"2023-01-20T15:53:48.000Z","size":478,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T15:58:04.153Z","etag":null,"topics":["grid-accordion","jquery","plugin","responsive-accordion","responsive-grid"],"latest_commit_sha":null,"homepage":"","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/bqworks.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":"2021-07-23T15:24:44.000Z","updated_at":"2024-02-21T09:17:51.000Z","dependencies_parsed_at":"2023-01-29T12:30:51.663Z","dependency_job_id":null,"html_url":"https://github.com/bqworks/grid-accordion-jquery","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bqworks%2Fgrid-accordion-jquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bqworks%2Fgrid-accordion-jquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bqworks%2Fgrid-accordion-jquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bqworks%2Fgrid-accordion-jquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bqworks","download_url":"https://codeload.github.com/bqworks/grid-accordion-jquery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249795088,"owners_count":21326776,"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":["grid-accordion","jquery","plugin","responsive-accordion","responsive-grid"],"created_at":"2024-11-08T16:27:36.813Z","updated_at":"2025-04-19T20:34:55.930Z","avatar_url":"https://github.com/bqworks.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://img.shields.io/npm/v/grid-accordion)](https://www.npmjs.com/package/grid-accordion)\n[![License](https://img.shields.io/github/license/bqworks/grid-accordion-jquery)](https://github.com/bqworks/grid-accordion-jquery/blob/master/LICENSE)\n[![Build](https://github.com/bqworks/grid-accordion-jquery/actions/workflows/build.yml/badge.svg)](https://github.com/bqworks/grid-accordion-jquery/actions/workflows/build.yml)\n[![Downloads](https://img.shields.io/npm/dt/grid-accordion)](https://github.com/bqworks/grid-accordion-jquery)\n\n# [Grid Accordion - jQuery plugin](https://bqworks.net/grid-accordion/) #\n\nA responsive and touch-enabled jQuery grid accordion plugin that combines the functionality of a grid with that of an accordion.\n\n\u003eThe Grid Accordion is also available as a [WordPress plugin](https://wordpress.org/plugins/grid-accordion/).\n\nMain features: \n\n* modular architecture\n* responsive\n* touch-swipe\n* CSS3 transitions\n* animated layers (and static)\n* deep linking\n* lazy loading\n* retina-enabled\n* video support\n* JavaScript breakpoints \n\nCheck the plugin's [presentation page](https://bqworks.net/grid-accordion/) for examples and more details of the available features.\n\n## Getting started ##\n\n### 1. Get a copy of the plugin ###\n\nYou can fork or download the plugin from GitHub, or you can install it through `npm`.\n\n```\n$ npm install grid-accordion\n```\n\n### 2. Load the required files ###\n\nInside the page's head tag include the accordion's CSS file.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"dist/css/grid-accordion.min.css\"/\u003e\n```\n\nIn the page's footer, just before \u003ccode\u003e\u0026lt;/body\u0026gt;\u003c/code\u003e, include the required JavaScript files.\n\n```html\n\u003cscript type=\"text/javascript\" src=\"https://code.jquery.com/jquery-3.6.2.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"dist/js/jquery.gridAccordion.min.js\"\u003e\u003c/script\u003e\n```\n\nYou can also load the CSS and JS code from unpkg.com:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/grid-accordion/dist/css/grid-accordion.min.css\"/\u003e\n\u003cscript type=\"text/javascript\" src=\"https://unpkg.com/grid-accordion/dist/js/jquery.gridAccordion.min.js\"\u003e\u003c/script\u003e\n```\n\n### 3. Create the HTML markup ###\n\n```html\n\u003cbody\u003e\n\t\u003cdiv id=\"my-accordion\" class=\"grid-accordion\"\u003e\n\t\t\u003cdiv class=\"ga-panels\"\u003e\n\t\t\t\u003cdiv class=\"ga-panel\"\u003e\n\t\t\t\t\u003cimg class=\"ga-background\" src=\"path/to/image1.jpg\"/\u003e\n\t\t\t\u003c/div\u003e\n\t\t\t\u003cdiv class=\"ga-panel\"\u003e\n\t\t\t\t\u003cimg class=\"ga-background\" src=\"path/to/image2.jpg\"/\u003e\n\t\t\t\u003c/div\u003e\n\t\t\t\u003cdiv class=\"ga-panel\"\u003e\n\t\t\t\t\u003cimg class=\"ga-background\" src=\"path/to/image3.jpg\"/\u003e\n\t\t\t\u003c/div\u003e\n\t\t\t\u003cdiv class=\"ga-panel\"\u003e\n\t\t\t\t\u003cimg class=\"ga-background\" src=\"path/to/image4.jpg\"/\u003e\n\t\t\t\u003c/div\u003e\n\t\t\t\u003cdiv class=\"ga-panel\"\u003e\n\t\t\t\t\u003cimg class=\"ga-background\" src=\"path/to/image5.jpg\"/\u003e\n\t\t\t\u003c/div\u003e\n\t\t\u003c/div\u003e\n    \u003c/div\u003e\n\u003c/body\u003e\n```\n\nThe structure you see in the code above (grid-accordion \u003e ga-panels \u003e ga-panel) as well as the class names used are required.\n\nMore about the supported content (i.e., layers, html, video) in the [Modules](docs/modules.md#modules) doc.\n\n### 4. Instantiate the accordion ###\n\n```html\n\u003cscript type=\"text/javascript\"\u003e\n\tjQuery(document).ready(function($) {\n\t\t$('#my-accordion').gridAccordion();\n\t});\n\u003c/script\u003e\n```\n\nGrid Accordion has 40+ customizable options. More about this in the [JavaScript API](docs/api.md#javascript-api) doc.\n\n## Detailed usage instructions ##\n\n* [JavaScript API](docs/api.md#javascript-api)\n\t* [1. Properties](docs/api.md#1-properties)\n\t* [2. Public Methods](docs/api.md#2-public-methods)\n\t* [3. Callbacks](docs/api.md#3-callbacks)\n* [Modules](docs/modules.md#modules)\n\t* [1. Touch Swipe](docs/modules.md#1-touch-swipe)\n\t* [2. Autoplay](docs/modules.md#2-autoplay)\n\t* [3. Mouse Wheel](docs/modules.md#3-mouse-wheel)\n\t* [4. Keyboard](docs/modules.md#4-keyboard)\n\t* [5. Layers](docs/modules.md#5-layers)\n\t* [6. Lazy Loading](docs/modules.md#6-lazy-loading)\t\n\t* [7. Retina](docs/modules.md#7-retina)\n\t* [8. Deep Linking](docs/modules.md#8-deep-linking)\n\t* [9. Swap Background](docs/modules.md#9-swap-background)\n\t* [10. Smart Video](docs/modules.md#10-smart-video)\n\t* [11. XML](docs/modules.md#11-xml)\n\t* [12. JSON](docs/modules.md#12-json)\n\n## Support ##\n\nIf you found a bug or have a feature suggestion, please submit it in the [Issues tracker](https://github.com/bqworks/grid-accordion-jquery/issues).\n\n## License ##\n\nThe plugin is available under the \u003ca href=\"https://opensource.org/licenses/MIT\"\u003eMIT license\u003c/a\u003e.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbqworks%2Fgrid-accordion-jquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbqworks%2Fgrid-accordion-jquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbqworks%2Fgrid-accordion-jquery/lists"}