{"id":17976045,"url":"https://github.com/stefangabos/zebra_accordion","last_synced_at":"2025-03-25T15:31:05.122Z","repository":{"id":7629245,"uuid":"8988776","full_name":"stefangabos/Zebra_Accordion","owner":"stefangabos","description":"A lightweight, customizable, and cross-browser jQuery accordion plugin - 3KB minified (1.3KB gzipped) with easy configuration options","archived":false,"fork":false,"pushed_at":"2025-03-18T13:55:48.000Z","size":1098,"stargazers_count":31,"open_issues_count":1,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T13:05:50.419Z","etag":null,"topics":["accordion","accordion-jquery-plugin","accordion-plugin","accordion-widget","collapse","collapsible"],"latest_commit_sha":null,"homepage":"https://stefangabos.github.io/Zebra_Accordion/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefangabos.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"stefangabos","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2013-03-24T16:07:02.000Z","updated_at":"2025-03-18T13:55:52.000Z","dependencies_parsed_at":"2024-05-19T13:29:06.758Z","dependency_job_id":"2a163fd1-6380-48bc-a0a0-0ce69066defc","html_url":"https://github.com/stefangabos/Zebra_Accordion","commit_stats":{"total_commits":133,"total_committers":2,"mean_commits":66.5,"dds":"0.015037593984962405","last_synced_commit":"8f736f6d77e5dde15020fd8a353cab30600976eb"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefangabos%2FZebra_Accordion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefangabos%2FZebra_Accordion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefangabos%2FZebra_Accordion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefangabos%2FZebra_Accordion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefangabos","download_url":"https://codeload.github.com/stefangabos/Zebra_Accordion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245489756,"owners_count":20623789,"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":["accordion","accordion-jquery-plugin","accordion-plugin","accordion-widget","collapse","collapsible"],"created_at":"2024-10-29T17:21:44.273Z","updated_at":"2025-03-25T15:31:05.110Z","avatar_url":"https://github.com/stefangabos.png","language":"JavaScript","funding_links":["https://github.com/sponsors/stefangabos","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=NBM9XKB7XAB5L"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/stefangabos/zebrajs/master/docs/images/logo.png\" alt=\"zebrajs\" align=\"right\"\u003e\n\n# Zebra Accordion \u0026nbsp;[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=A+tiny,+easily+configurable,+fully+customizable,+cross-browser+jQuery+accordion+plugin\u0026url=https://github.com/stefangabos/Zebra_Accordion\u0026via=stefangabos\u0026hashtags=jquery,javascript)\n\n*A lightweight, customizable, and cross-browser jQuery accordion plugin - 3KB minified (1.3KB gzipped) with easy configuration options*\n\n[![npm](https://img.shields.io/npm/v/zebra_accordion.svg)](https://www.npmjs.com/package/zebra_accordion) [![Total](https://img.shields.io/npm/dt/zebra_accordion.svg)](https://www.npmjs.com/package/zebra_accordion) [![Monthly](https://img.shields.io/npm/dm/zebra_accordion.svg)](https://www.npmjs.com/package/zebra_accordion) [![](https://data.jsdelivr.com/v1/package/npm/zebra_accordion/badge?style=rounded)](https://www.jsdelivr.com/package/npm/zebra_accordion)  [![License](https://img.shields.io/npm/l/zebra_accordion.svg)](https://github.com/stefangabos/Zebra_Accordion/blob/master/LICENSE.md)\n\nZebra Accordion is a lightweight, user-friendly jQuery plugin designed for creating smooth, interactive accordion menus. Its compact size (3KB minified) ensures your web projects remain fast and responsive. The plugin's extensive customization options allow developers to easily modify animations, durations, and other behavior for a tailored user experience. With cross-browser support and simple implementation, Zebra_Accordion is an excellent choice for building collapsible content sections, FAQs, and sidebars that enhance usability without compromising performance.\n\n## Key features of this jQuery accordion plugin\n\n - no additional markup required other than a basic definition list\n - no default style allowing you to fully customize it to suit your needs\n - works with responsive layouts\n - allows for a single expanded tab at a time, or for any number of tabs to be expanded/collapsed\n - allows for tabs to expand on mouse over, not just on click\n - if an expanded tab's content is not in the viewport it automatically scrolls the browser window so that the content is visible\n - callback functions can be used for further customizations\n - works in pretty much any browser - Firefox, Chrome, Safari, Edge, Opera and Internet Explorer 6+\n\n## 🎂 Support the development of this project\n\nYour support means a lot and it keeps me motivated to keep working on open source projects.\u003cbr\u003e\nIf you like this project please ⭐ it by clicking on the star button at the top of the page.\u003cbr\u003e\nIf you are feeling generous, you can buy me a coffee by donating through PayPal, or you can become a sponsor.\u003cbr\u003e\nEither way - **Thank you!** 🎉\n\n[\u003cimg src=\"https://img.shields.io/github/stars/stefangabos/zebra_accordion?color=green\u0026label=star%20it%20on%20GitHub\" width=\"132\" height=\"20\" alt=\"Star it on GitHub\"\u003e](https://github.com/stefangabos/Zebra_Accordion) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=NBM9XKB7XAB5L) [\u003cimg src=\"https://img.shields.io/badge/-Sponsor-fafbfc?logo=GitHub%20Sponsors\"\u003e](https://github.com/sponsors/stefangabos)\n\n## Demo\n\nSee the [demos](https://stefangabos.github.io/Zebra_Accordion/)\n\n## Requirements\n\nZebra Accordion has no dependencies other than jQuery 1.7.0+\n\n## Installation\n\nZebra Accordion is available as a [npm package](https://www.npmjs.com/package/zebra_accordion). To install it use:\n\n```bash\n# the \"--save\" argument adds the plugin as a dependency in packages.json\nnpm install zebra_accordion --save\n```\n\n## How to use\n\nFirst, load jQuery from a CDN and provide a fallback to a local source like:\n\n```html\n\u003cscript src=\"https://code.jquery.com/jquery-3.5.0.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003ewindow.jQuery || document.write('\u003cscript src=\"path/to/jquery-3.5.0.js\"\u003e\u003c\\/script\u003e')\u003c/script\u003e\n```\n\nLoad the Zebra Accordion jQuery plugin:\n\n```html\n\u003cscript src=\"path/to/zebra_accordion.min.js\"\u003e\u003c/script\u003e\n```\n\nAlternatively, you can load Zebra Accordion from [JSDelivr CDN](https://www.jsdelivr.com/package/npm/zebra_accordion) like this:\n\n```html\n\u003c!-- for the most recent version, not recommended in production --\u003e\n\u003cscript\n  src=\"https://cdn.jsdelivr.net/npm/zebra_accordion@latest/dist/zebra_accordion.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- for a specific version --\u003e\n\u003cscript\n  src=\"https://cdn.jsdelivr.net/npm/zebra_accordion@1.2.8/dist/zebra_accordion.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- replacing \"min\" with \"src\" will serve you the non-compressed version --\u003e\n```\n\nLoad the style sheet file from a local source\n\n```html\n\u003clink rel=\"stylesheet\" href=\"path/to/zebra_accordion.min.css\"\u003e\n```\n\n...or from [JSDelivr CDN](https://www.jsdelivr.com/package/npm/zebra_accordion)\n\n```html\n\u003c!-- for the most recent version --\u003e\n\u003clink\n  rel=\"stylesheet\"\n  href=\"https://cdn.jsdelivr.net/npm/zebra_accordion@latest/dist/zebra_accordion.min.css\"\u003e\n\n\u003c!-- for a specific version --\u003e\n\u003clink\n  rel=\"stylesheet\"\n  href=\"https://cdn.jsdelivr.net/npm/zebra_accordion@1.2.9/dist/zebra_accordion.min.css\"\u003e\n\n\u003c!-- replacing \"min\" with \"src\" will serve you the non-compressed version --\u003e\n```\n\nYou need a basic definition list for your HTML markup\n\n\u003e Don't forget to add the `Zebra Accordion` class to the list container! If you'll [have a look](https://github.com/stefangabos/Zebra_Accordion/blob/master/dist/zebra_accordion.css) you will see that all it does is to set `display:hidden` the all the tabs and add `cursor:pointer` to titles, so it will not add overweight to your CSS and that you will have to style the accordion to suit your needs.\n\n```html\n\u003cdl class=\"Zebra_Accordion\"\u003e\n    \u003cdt\u003eLorem ipsum dolor sit amet consectetuer\u003c/dt\u003e\n    \u003cdd\u003e\n        Lorem ipsum dolor sit amet consectetuer facilisis lacinia sapien ac et.\n        Quis hendrerit neque congue pretium iaculis justo laoreet orci elit condimentum.\n        Eros natoque Curabitur accumsan eget quis porttitor Sed Vestibulum amet sed.\n    \u003c/dd\u003e\n    \u003cdt\u003eLorem ipsum dolor sit amet consectetuer\u003c/dt\u003e\n    \u003cdd\u003e\n        Lorem ipsum dolor sit amet consectetuer facilisis lacinia sapien ac et.\n        Quis hendrerit neque congue pretium iaculis justo laoreet orci elit condimentum.\n        Eros natoque Curabitur accumsan eget quis porttitor Sed Vestibulum amet sed.\n    \u003c/dd\u003e\n    \u003cdt\u003eLorem ipsum dolor sit amet consectetuer\u003c/dt\u003e\n    \u003cdd\u003e\n        Lorem ipsum dolor sit amet consectetuer facilisis lacinia sapien ac et.\n        Quis hendrerit neque congue pretium iaculis justo laoreet orci elit condimentum.\n        Eros natoque Curabitur accumsan eget quis porttitor Sed Vestibulum amet sed.\n    \u003c/dd\u003e\n    \u003cdt\u003eLorem ipsum dolor sit amet consectetuer\u003c/dt\u003e\n    \u003cdd\u003e\n        Lorem ipsum dolor sit amet consectetuer facilisis lacinia sapien ac et.\n        Quis hendrerit neque congue pretium iaculis justo laoreet orci elit condimentum.\n        Eros natoque Curabitur accumsan eget quis porttitor Sed Vestibulum amet sed.\n    \u003c/dd\u003e\n\u003c/dl\u003e\n```\n\nNow, within the DOM-ready event do\n\n```javascript\n$(document).ready(function() {\n\n    new $.Zebra_Accordion($('.Zebra_Accordion'));\n\n});\n```\n\n## Configuration options\n\n## Properties\n\n\u003ctable width=\"100%\"\u003e\n    \u003cthead\u003e\n    \u003ctr\u003e\n        \u003cth\u003eProperty\u003c/th\u003e\n        \u003cth\u003eType\u003c/th\u003e\n        \u003cth\u003eDefault\u003c/th\u003e\n        \u003cth\u003eDescription\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eanimate_opacity\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003cem\u003eboolean\u003c/em\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003etrue\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003eShould a tab's opacity be also animated when expanding/collapsing?\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003ecollapsible\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003cem\u003emixed\u003c/em\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            \t- when set to \u003ccode\u003etrue\u003c/code\u003e it indicates that all tabs can be collapsed\u003cbr\u003e\u003cbr\u003e\n                - if set to \u003ccode\u003efalse\u003c/code\u003e, an expanded tab can be collapsed only by expanding another tab\u003cbr\u003e\u003cbr\u003e\n                - if set to \u003ccode\u003e0\u003c/code\u003e, the behavior is the same when set to \u003ccode\u003efalse\u003c/code\u003e with the difference that an open tab can also be closed.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eexpanded_class\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003cem\u003estring\u003c/em\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eZebra_Accordion_Expanded\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            The name of the class to append to an expanded tab's associated \u003cem\u003etitle\u003c/em\u003e element.\u003cbr\u003e\u003cbr\u003e\n            Use it to customize the aspect of expanded tabs.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003ehide_speed\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003cem\u003einteger\u003c/em\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003e400\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            The speed (in milliseconds) to use when collapsing a tab.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003escroll_speed\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003cem\u003einteger\u003c/em\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003e600\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            If an tab's content is not entirely visible once it is expanded, the browser window will be scrolled so that the entire content is visible (if it is possible).\u003cbr\u003e\u003cbr\u003e\n            This value represents the speed (in milliseconds) used for scrolling browser window to the right position.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eshow_speed\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003cem\u003einteger\u003c/em\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003e400\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            The speed (in milliseconds) to use when expanding a tab.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eshow\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003cem\u003emixed\u003c/em\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003e0\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            The index (0 based) of the tab to be expanded by default.\u003cbr\u003e\u003cbr\u003e\n            The value of this property can also be boolean \u003ccode\u003eFALSE\u003c/code\u003e, indicating that all tabs should be collapsed by default.\u003cbr\u003e\u003cbr\u003e\n            If the value of the \u003ccode\u003ecollapsible\u003c/code\u003e property is \u003ccode\u003eTRUE\u003c/code\u003e, the value of this property can also be boolean \u003ccode\u003eTRUE\u003c/code\u003e, indicating that all tabs should be expanded by default. In this case, you can also provide \u003ccode\u003ean array\u003c/code\u003e of indexes to be expanded by default.\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003etoggle_on_mouseover\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003cem\u003eboolean\u003c/em\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003efalse\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            Set this to \u003ccode\u003eTRUE\u003c/code\u003e if tabs should be expanded when hovering the mouse over their associated \u003cem\u003etitles\u003c/em\u003e.\u003cbr\u003e\u003cbr\u003e\n            \u003cblockquote\u003eIf the \u003ccode\u003ecollapsible\u003c/code\u003e property is \u003ccode\u003etrue\u003c/code\u003e, this property will always be considered as \u003ccode\u003efalse\u003c/code\u003e!\u003c/blockquote\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Events\n\n\u003ctable width=\"100%\"\u003e\n    \u003cthead\u003e\n    \u003ctr\u003e\n        \u003cth\u003eEvent\u003c/th\u003e\n        \u003cth width=\"100%\"\u003eDescription\u003c/th\u003e\n    \u003c/tr\u003e\n    \u003c/thead\u003e\n    \u003ctbody\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eonBeforeClose\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            Event fired \u003cstrong\u003ebefore\u003c/strong\u003e a tab is \u003cstrong\u003ecollapsed\u003c/strong\u003e\u003cbr\u003e\n            The callback function takes 3 arguments:\n            \u003cul\u003e\n                \u003cli\u003ethe tab's position in the accordion (0 based)\u003c/li\u003e\n                \u003cli\u003ethe associated title element, as a jQuery object\u003c/li\u003e\n                \u003cli\u003ethe tab, as a jQuery object\u003c/li\u003e\n            \u003c/ul\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eonBeforeOpen\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            Event fired \u003cstrong\u003ebefore\u003c/strong\u003e a tab is \u003cstrong\u003eexpanded\u003c/strong\u003e\u003cbr\u003e\n            The callback function takes 3 arguments:\n            \u003cul\u003e\n                \u003cli\u003ethe tab's position in the accordion (0 based)\u003c/li\u003e\n                \u003cli\u003ethe associated title element, as a jQuery object\u003c/li\u003e\n                \u003cli\u003ethe tab, as a jQuery object\u003c/li\u003e\n            \u003c/ul\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eonClose\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            Event fired \u003cstrong\u003eafter\u003c/strong\u003e a tab is \u003cstrong\u003ecollapsed\u003c/strong\u003e\u003cbr\u003e\n            The callback function takes 3 arguments:\n            \u003cul\u003e\n                \u003cli\u003ethe tab's position in the accordion (0 based)\u003c/li\u003e\n                \u003cli\u003ethe associated title element, as a jQuery object\u003c/li\u003e\n                \u003cli\u003ethe tab, as a jQuery object\u003c/li\u003e\n            \u003c/ul\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n        \u003ctd valign=\"top\"\u003e\u003ccode\u003eonOpen\u003c/code\u003e\u003c/td\u003e\n        \u003ctd valign=\"top\"\u003e\n            Event fired \u003cstrong\u003eafter\u003c/strong\u003e a tab is \u003cstrong\u003ecollapsed\u003c/strong\u003e\u003cbr\u003e\n            The callback function takes 3 arguments:\n            \u003cul\u003e\n                \u003cli\u003ethe tab's position in the accordion (0 based)\u003c/li\u003e\n                \u003cli\u003ethe associated title element, as a jQuery object\u003c/li\u003e\n                \u003cli\u003ethe tab, as a jQuery object\u003c/li\u003e\n            \u003c/ul\u003e\n        \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Methods\n\n### `show(index, [noFx = FALSE], [noScroll = FALSE])`\n\nExpands a tab.\n\n#### Arguments\n\n`index` - the 0-based index of the tab to expand\n\n`noFx` - *(optional)* - if set to \u003ccode\u003eTRUE\u003c/code\u003e, the tab will be instantly expanded without animation.\n\nDefault is \u003ccode\u003efalse\u003c/code\u003e.\n\n`noScroll` - *(optional)* - if set to \u003ccode\u003eTRUE\u003c/code\u003e, the browser window will not be scrolled to the newly expanded tab.\n\nDefault is \u003ccode\u003efalse\u003c/code\u003e.\n\n```javascript\nvar myAccordion = new $.Zebra_Accordion($('#accordion'));\n\n// expand the third tab\nmyAccordion.show(2);\n```\n\n### `hide(index, [noFx = FALSE])`\n\nExpands a tab.\n\n#### Arguments\n\n`index` - the 0-based index of the tab to collapse\n\n`noFx` - *(optional)* - if set to \u003ccode\u003eTRUE\u003c/code\u003e, the tab will be instantly collapsed without animation.\n\nDefault is \u003ccode\u003efalse\u003c/code\u003e.\n\n```javascript\nvar myAccordion = new $.Zebra_Accordion($('#accordion'));\n\n// collapse the first tab\nmyAccordion.hide(0);\n```\n\n## Sponsors\n\nCross browser/device testing is done with\n\n[![BrowserStack](https://github.com/stefangabos/Zebra_Dialog/raw/master/examples/browserstack.png)](https://www.browserstack.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefangabos%2Fzebra_accordion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefangabos%2Fzebra_accordion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefangabos%2Fzebra_accordion/lists"}