{"id":15980612,"url":"https://github.com/drwpow/jquery-tabinate","last_synced_at":"2025-04-04T18:44:45.154Z","repository":{"id":4349882,"uuid":"5485933","full_name":"drwpow/jQuery-Tabinate","owner":"drwpow","description":"1kb (minified) tab plugin for jQuery","archived":false,"fork":false,"pushed_at":"2013-04-26T19:59:10.000Z","size":156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T04:17:32.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/drwpow.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":"2012-08-20T19:45:56.000Z","updated_at":"2013-10-12T19:55:22.000Z","dependencies_parsed_at":"2022-08-26T16:00:54.049Z","dependency_job_id":null,"html_url":"https://github.com/drwpow/jQuery-Tabinate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2FjQuery-Tabinate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2FjQuery-Tabinate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2FjQuery-Tabinate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drwpow%2FjQuery-Tabinate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drwpow","download_url":"https://codeload.github.com/drwpow/jQuery-Tabinate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234850,"owners_count":20905852,"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":"2024-10-08T00:21:08.883Z","updated_at":"2025-04-04T18:44:45.139Z","avatar_url":"https://github.com/drwpow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery-Tabinate\n===============\n\n1kb (minified) tab plugin for jQuery\n\nDescription\n-----------\nThis is a lightweight, bare-bones jQuery tabination plugin for when you don't need jQuery UI bloat.\n\n**NEW** supports “Twitter-style” hashes (eg, `\u003ca href=\"#div-one\"\u003eDiv #1\u003c/a\u003e` OR `\u003ca href=\"#!/div-one\"\u003eDiv #1\u003c/a\u003e` will work)\n\nThere are only *3 rules* to get it working:\n\n* Navigation and tabs must go inside a container element (this is what you initialize)\n* Navigation **must** follow a `ul li a` structure (surrounding `span`s and `div`s for styling are okay)\n* Tabs **must** have `tab` class (class name can be changed with the `tabClass` option; any element will work)\n\nIt uses the first `ul` it finds as the navigation. The navigation either requires an `href` anchor set to the ID of the tab, or it will correspond the\nlink index with the tab index (ex, the first link will open the first tab, the second link will open the second tab, etc.). In the unfortunate event an\n`li` contains two links, it will use the first link as the navigation. In the catastrophic event that there are more navigation links than tabs, or\nvice-versa, the universe will implode and we will all die a quick, painless depth in the unmerciful maw of compressed space-time.\n\nCurrently, this plugin supports multiple tab windows on the same page without conflict, but not tabs within tabs.\n\n\nDependencies\n------------\n* jQuery\n\n\nUsage\n-----\nTo initialize:\n\n\t$('#example-one').tabinate({\n\t\tactiveLinkClass : 'active',\n\t\ttabClass : 'tab',\n\t\tstartTab : 0\n\t});\n\nThis is roughly how the HTML should look:\n\n\t\u003cdiv id=\"example-one\" class=\"tab-window\"\u003e\n\t  \u003cnav\u003e\n\t    \u003cul\u003e\n\t      \u003cli\u003e\u003ca href=\"#!/item-one\"\u003eItem One\u003c/a\u003e\u003c/li\n\t     \u003e\u003cli\u003e\u003ca href=\"#!/item-two\"\u003eItem Two\u003c/a\u003e\u003c/li\n\t     \u003e\u003cli\u003e\u003ca href=\"#!/item-four\"\u003eItem Four\u003c/a\u003e\u003c/li\n\t     \u003e\u003cli\u003e\u003ca href=\"#!/item-three\"\u003eItem Three\u003c/a\u003e\u003c/li\n\t     \u003e\u003cli\u003e\u003ca href=\"#\"\u003eNo ID\u003c/a\u003e\u003c/li\u003e\n\t    \u003c/ul\u003e\n\t  \u003c/nav\u003e\n\t  \u003cdiv id=\"item-one\" class=\"tab\"\u003e\n\t    \u003cp\u003eSample content one\u003c/p\u003e\n\t  \u003c/div\u003e\n\t  \u003cdiv id=\"item-two\" class=\"tab\"\u003e\n\t    \u003cp\u003eSample content two\u003c/p\u003e\n\t  \u003c/div\u003e\n\t  \u003cdiv id=\"item-three\" class=\"tab\"\u003e\n\t    \u003cp\u003eSample content three\u003c/p\u003e\n\t  \u003c/div\u003e\n\t  \u003cdiv id=\"item-four\" class=\"tab\"\u003e\n\t    \u003cp\u003eSample content four\u003c/p\u003e\n\t  \u003c/div\u003e\n\t  \u003cdiv class=\"tab\"\u003e\n\t    \u003cp\u003eSample content with no ID\u003c/p\u003e\n\t  \u003c/div\u003e\n\t\u003c/div\u003e\n\n\nOptions\n-------\n* `activeLinkClass` - *[str]* CSS class hook for active tab link LIs *(default: `active`)*\n* `activeTabClass` - *[str]* CSS class hook for the visible tab *(default: `active-tab`)*\n* `bookmarks` - *[bool]* Set to `1` or `true` to enable bookmarks (URL hash changes on click), or `0` or `false` to disable bookmarks *(default: `true`)*\n* `tabClass` - *[str]* class that determines a tab element *(default: `tab`)*\n* `startTab` - *[int]* index of list item / tab to display on load (0 is first, 1 is second, etc.)\n\n\nDownload\n--------\nhttps://github.com/dangodev/jQuery-Tabinate/zipball/master","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrwpow%2Fjquery-tabinate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrwpow%2Fjquery-tabinate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrwpow%2Fjquery-tabinate/lists"}