{"id":21413425,"url":"https://github.com/intera/jquery.nestedlist","last_synced_at":"2026-05-20T09:10:56.723Z","repository":{"id":57282599,"uuid":"6560676","full_name":"Intera/jquery.nestedlist","owner":"Intera","description":"Creates a browsable nested list.","archived":false,"fork":false,"pushed_at":"2016-06-16T11:00:21.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T13:25:49.346Z","etag":null,"topics":["javascript","jquery","nestedlist"],"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/Intera.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-11-06T10:57:49.000Z","updated_at":"2019-10-15T09:37:29.000Z","dependencies_parsed_at":"2022-08-31T00:00:17.126Z","dependency_job_id":null,"html_url":"https://github.com/Intera/jquery.nestedlist","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intera%2Fjquery.nestedlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intera%2Fjquery.nestedlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intera%2Fjquery.nestedlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Intera%2Fjquery.nestedlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Intera","download_url":"https://codeload.github.com/Intera/jquery.nestedlist/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910763,"owners_count":20367544,"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":["javascript","jquery","nestedlist"],"created_at":"2024-11-22T18:18:23.967Z","updated_at":"2026-05-20T09:10:56.680Z","avatar_url":"https://github.com/Intera.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jquery.nestedlist\nCreates a browsable nested list.\n\nFeatures\n- Unlimited nesting depth\n- Arbitrary number of nested lists per page\n- Change events for setting list titles or similar\n- Compatible with Firefox, Chrome, Internet Exploder, Opera, Safari, and more\n\nAdditional features\n- The up-link (anything with class \".nestedlist-up\") can be anywhere on the page\n- All cards have the same width\n- Height is dynamic\n- Shows first list on load\n- HTML fallback with deactivated javascript possible\n- At the moment, child lists can not be shared between list items\n- It is possible to create a horizontal list by disabling the animation and setting a width for ``\u003cli\u003e``\n\n# Dependencies\n- jQuery\n\n# Usage\nCall \"nestedList\" on a jQuery object with the topmost ``\u003cul\u003e`` element of the list.\n\n    $(\"ul.demo-list\").nestedList()\n\n# Optional configuration\n```\n$(selector).nestedList({\n  optionName: optionValue, ...\n})\n```\n\n|optionName|description|optionValue|\n----|----|----\n|onBeforeChange|called before showing a list|function(-1 or 1, nextList, nestedList)|\n|onAfterChange|called after showing a list|function(-1 or 1, nextList, nestedList)|\n|upButton|for retrieving the upButton anywhere in the document by jQuery-selector or jQuery object. The upButton is one container that is moved around and inserted where it is needed.|string, jQuery|\n|upButtonShow|the default is function(upButton, nextList) { nextList.prepend(upButton) }|function(upButton, nextList)|\n|shiftAnimation|options for jQuery.animate()|object|\n|noScriptLinks|true or a selector relative to the nestedlist container to select links that should be replaced with their content text|boolean, string|\n\n# Example DOM structure\n```\nul\n  li\n    content\n  li\n    content\n    ul\n      li\n      li\n      li\n```\n\nSee demo/demo.css for an example stylesheet\n\n# Methods and objects\n## nestedListsObject\n$.nestedList returns a nestedListsObject\n### Example\n    var nestedLists = jQuery(\".demo-list\").nestedList()\n### Content\n    {\n      nestedLists: [nestedListObject, ...],\n      closeAll: closeAll\n    }\n### Methods\n|name|description|\n----|----|----\n|closeAll()|closes all open sub-lists of all nestedLists and shows the toplevel/first list|\n## nestedListObject\n    {\n      container: container,\n      toplevelClass: toplevelClass,\n      closeList: closeList\n    }\n### Methods\n|name|description|\n----|----|----\n|closeList()|close the currently active sub-list and show its parent list|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintera%2Fjquery.nestedlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintera%2Fjquery.nestedlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintera%2Fjquery.nestedlist/lists"}