{"id":26502872,"url":"https://github.com/grassator/jquery-brute-tabs","last_synced_at":"2026-05-17T12:03:08.798Z","repository":{"id":8634109,"uuid":"10280833","full_name":"grassator/jquery-brute-tabs","owner":"grassator","description":"Minimal but easily extendible jquery tabs plugin for everyone.","archived":false,"fork":false,"pushed_at":"2013-05-25T07:02:34.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-04-09T14:49:36.176Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grassator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-25T07:01:00.000Z","updated_at":"2014-01-30T01:43:45.000Z","dependencies_parsed_at":"2022-09-10T03:20:57.150Z","dependency_job_id":null,"html_url":"https://github.com/grassator/jquery-brute-tabs","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassator%2Fjquery-brute-tabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassator%2Fjquery-brute-tabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassator%2Fjquery-brute-tabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grassator%2Fjquery-brute-tabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grassator","download_url":"https://codeload.github.com/grassator/jquery-brute-tabs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244672244,"owners_count":20491335,"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":[],"created_at":"2025-03-20T18:36:04.106Z","updated_at":"2026-05-17T12:03:03.757Z","avatar_url":"https://github.com/grassator.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brute Tabs\n\nMinimal but easily extendible jquery tabs plugin for everyone.\n\nWhat makes **Brute Tabs** really different is an ability to customize every aspect of it's looks and behavior by providing configuration functions instead of limited scalar options used in most jQuery plugins.\n\n## Getting Started\n\nDownload the latest version from [github][github]. Then in your web page:\n\n[github]:https://github.com/grassator/jquery-brute-tabs/archive/master.zip\n\n```html\n\u003chead\u003e\n\t\u003cscript src=\"jquery.js\"\u003e\u003c/script\u003e\n\t\u003cscript src=\"dist/brute-tabs.min.js\"\u003e\u003c/script\u003e\n\t\u003clink rel=\"stylesheet\" href=\"dist/brute-tabs.css\"\u003e\n\t\u003cscript\u003e\n\t$(function() {\n\t\t$('#demo').bruteTabs();\n\t});\n\t\u003c/script\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\t\u003cdiv id=\"demo\" class=\"brute-tabs\"\u003e\n\t\t\u003cul class=\"brute-tabs-buttons\"\u003e\n\t\t\t\u003cli\u003eOne\u003c/li\u003e\n\t\t\t\u003cli\u003eTwo\u003c/li\u003e\n\t\t\t\u003cli\u003eThree\u003c/li\u003e\n\t\t\u003c/ul\u003e\n\t\t\u003cdiv class=\"brute-tabs-panes\"\u003e\n\t\t\t\u003cdiv\u003eContent for first tab\u003c/div\u003e\n\t\t\t\u003cdiv\u003eContent for second tab\u003c/div\u003e\n\t\t\t\u003cdiv\u003eContent for third tab\u003c/div\u003e\n\t\t\u003c/div\u003e\n\t\u003c/div\u003e\n\u003c/body\u003e\n```\n\n## Configuration\n\nYou can pass configuration object to plugin initialization with parameters described below:\n\n### `baseName` string\n\nBase for all string entities related to Brute Tabs including base part of element classes when using default `generateClassName` function.\n\nDefaults to `brute-tabs`\n\n### `generateClassName` function (elementNameOrModifier, isModifier)\n\nGenerates appropriate class names for select elements in generated markup. It can be used to adjust class names to conform to specific naming guidelines, like the ones used in [BEM](http://bem.info/). \n\nDefault implementation just appends `elementNameOrModifier` to `baseName` with `-` in the middle and can be accessed via `$.fn.bruteTabs.generateClassName`.\n\nHere is an sample implementation of BEM-style class generation:\n\n```js\n$('select').bruteTabs({\n\tgenerateClassName: function (elementNameOrModifier, isModifier) {\n\t\tvar cls = this.baseName;\n\t\tif(elementNameOrModifier) {\n\t\t\tcls += (isModifier ? '_' : '__') + elementNameOrModifier;\n\t\t}\n\t\treturn cls;\n\t}\n});\n```\n\n### Function Context\n\nAll of the configuration functions are merged into special object that contains state of tabs widget and handles user and API interactions. Apart from ability to access all the other configuration options within configuration function it also provides references to several useful properties like `$el`, `$currentTab` and `$currentPane`.\n\n### Global Configuration \n\nAll of the previously listed options are also available in `$.fn.bruteTabs.options` object that contains default options for the plugin allowing you to adjust them globally.\n\n## Further Extending\n\nIf you need even more control or wish to extend functionality of this plugin, you can extend base class that handles state and user interactions. It is accessible via `$.fn.bruteTabs.klass`.\n\n## Licensing\n\nLicensed under permissive [MIT-style license](https://github.com/grassator/jquery-brute-tabs/blob/master/LICENSE-MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrassator%2Fjquery-brute-tabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrassator%2Fjquery-brute-tabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrassator%2Fjquery-brute-tabs/lists"}