{"id":15066858,"url":"https://github.com/micc83/resmenu","last_synced_at":"2025-07-04T19:04:59.858Z","repository":{"id":11930321,"uuid":"14499000","full_name":"micc83/ReSmenu","owner":"micc83","description":"jQuery ReSmenu - Select based responsive menu","archived":false,"fork":false,"pushed_at":"2020-09-01T08:24:14.000Z","size":22,"stargazers_count":62,"open_issues_count":2,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-27T21:44:19.170Z","etag":null,"topics":["jquery","jquery-resmenu","menu","responsive"],"latest_commit_sha":null,"homepage":"https://micc83.github.io/ReSmenu/docs/","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/micc83.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-11-18T17:02:35.000Z","updated_at":"2025-03-15T20:58:52.000Z","dependencies_parsed_at":"2022-08-30T11:50:31.643Z","dependency_job_id":null,"html_url":"https://github.com/micc83/ReSmenu","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/micc83/ReSmenu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micc83%2FReSmenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micc83%2FReSmenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micc83%2FReSmenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micc83%2FReSmenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micc83","download_url":"https://codeload.github.com/micc83/ReSmenu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micc83%2FReSmenu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263603137,"owners_count":23487211,"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":["jquery","jquery-resmenu","menu","responsive"],"created_at":"2024-09-25T01:13:18.354Z","updated_at":"2025-07-04T19:04:59.841Z","avatar_url":"https://github.com/micc83.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery ReSmenu\n=======\n\n**jQuery ReSmenu** is a very simple and lightweight (~1Kb) jQuery plugin that collapse ul menus into selects on responsive layouts. You can find some examples in the included demo or [here](https://micc83.github.io/ReSmenu/docs/).\n\nTo use it you just have to include jQuery and a copy of the plugin in your head or footer:\n\n    \u003cscript type=\"text/javascript\" src=\"http://code.jquery.com/jquery-latest.js\"\u003e\u003c/script\u003e\n    \u003cscript type=\"text/javascript\" src=\"jquery.resmenu.min.js\"\u003e\u003c/script\u003e\n    \nLet's say this is your menu:\n\n    \u003cdiv class=\"menu_container\"\u003e\n        \u003cul class=\"toresponsive\"\u003e\n            \u003cli\u003e\u003ca href=\"/\"\u003eHome\u003c/a\u003e\u003c/li\u003e\n            \u003cli class=\"current-menu-item\"\u003e\u003ca href=\"test.htm\"\u003eLink\u003c/a\u003e\u003c/li\u003e\n            \u003cli\u003e\u003ca href=\"test.htm\"\u003eLink 2\u003c/a\u003e\u003c/li\u003e\n            \u003cli\u003e\u003ca href=\"test.htm\"\u003eLink 3\u003c/a\u003e\u003c/li\u003e\n            \u003cli\u003e\u003ca href=\"test.htm\"\u003eLink 4\u003c/a\u003e\u003c/li\u003e\n        \u003c/ul\u003e\n    \u003c/div\u003e\n\nNow the only thing to do is to trigger the menu with:\n\n    $(window).ready(function () {\n        $('.toresponsive').ReSmenu();\n    });\n\nIf you need more control here's the plugin settings:\n\n    $('.toresponsive').ReSmenu({\n        menuClass:    'responsive_menu',   // Responsive menu class\n        selectId:     'resmenu',          // select ID\n        textBefore:   false,               // Text to add before the mobile menu\n        selectOption: false,               // First select option\n        activeClass:  'current-menu-item', // Active menu li class\n        maxWidth:     480                  // Size to which the menu is responsive\n    });\n    \n## Let's style your select\n\n**ReSmenu** runs out of the box but if you want to style your select to better fit the container you can take advantage of the short css style taken from [twitter bootstrap](http://getbootstrap.com/):\n\n    .responsive_menu select {\n        display: block;\n        width: 100%;\n        height: 36px;\n        padding: 6px 12px;\n        font-size: 14px;\n        line-height: 1.42857;\n        color: rgb(85, 85, 85);\n        vertical-align: middle;\n        background-color: rgb(255, 255, 255);\n        background-image: none;\n        border: none;\n    }\n    \n## Credits and contacts\n\nReSmenu has been made by [me](https://micc83.github.io/ReSmenu/docs/). You can contact me at micc83@gmail.com or [twitter](https://twitter.com/Micc1983) for any issue or feauture request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicc83%2Fresmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicc83%2Fresmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicc83%2Fresmenu/lists"}