{"id":30343950,"url":"https://github.com/tarmann/jquery-dropdown","last_synced_at":"2026-02-09T07:08:14.171Z","repository":{"id":141229851,"uuid":"12920981","full_name":"tarmann/jquery-dropdown","owner":"tarmann","description":"Simple jQuery Dropdown Plugin","archived":false,"fork":false,"pushed_at":"2013-09-18T14:29:48.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-03-12T03:01:59.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/tarmann.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":"2013-09-18T11:12:38.000Z","updated_at":"2023-03-12T03:36:45.295Z","dependencies_parsed_at":"2023-03-13T10:34:44.398Z","dependency_job_id":null,"html_url":"https://github.com/tarmann/jquery-dropdown","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/tarmann/jquery-dropdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarmann%2Fjquery-dropdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarmann%2Fjquery-dropdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarmann%2Fjquery-dropdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarmann%2Fjquery-dropdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarmann","download_url":"https://codeload.github.com/tarmann/jquery-dropdown/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarmann%2Fjquery-dropdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270988667,"owners_count":24680677,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-18T11:52:27.776Z","updated_at":"2025-08-18T11:52:30.910Z","avatar_url":"https://github.com/tarmann.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery Dropdown Plugin\n\nA simple and lighweight jQuery plugin for creating dropdown menus.\n\n### Installation\n\nInclude script after the jQuery library:\n\n```html\n\u003cscript type=\"text/javascript\" src=\"/path/to/jquery-dropdown.js\"\u003e\u003c/script\u003e\n```\n\n### Usage\n\n```js\n$('.dropdown').dropdown( options )\n```\n\n### Options\n\n#### toggleOn (string)\n\nDisplay the dropdown menu on `click` or `hover`.\n\n```js\ntoggleOn: 'click'\n```\n\n#### closeOnBlur (boolean)\n\nClose dropdown menu when click outsite the element.\n\n```js\ncloseOnBlur: true\n```\n\n#### expandedClass (string)\n\nSet the class that will be added to the element when expanded.\n\n```js\nexpandedClass: 'expanded'\n```\n\n#### elementLabelClass (string)\n\nSelector of the element used as the label on the dropdown.\n\n```js\nelementLabel: '.sdui-dropdown-label'\n```\n\n#### elementContent (string)\n\nSelector of the element used as the content on the dropdown.\n\n```js\nelementContent: '.sdui-dropdown-content'\n```\n\n#### showAnim (string)\n\nUse a jQuery UI animation to display the content element. Requires: jQuery UI.\n\n```js\nshowAnim: ''\n```\n\n### TODO\n\n* First load of showAnim is not working properly\n* Change position of element if is on the edge of the page\n* Handle which should be in front \n* Close open elements inside a group items when closeOnBlur: false\n\n## License\n\nMIT License\n(c) [Bruno Tarmann](http://tarmann.com.br)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarmann%2Fjquery-dropdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarmann%2Fjquery-dropdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarmann%2Fjquery-dropdown/lists"}