{"id":21605395,"url":"https://github.com/maxulyanov/slidingmenu","last_synced_at":"2025-10-03T22:55:58.719Z","repository":{"id":76873317,"uuid":"47428394","full_name":"maxulyanov/SlidingMenu","owner":"maxulyanov","description":"Magic sliding menu","archived":false,"fork":false,"pushed_at":"2017-04-22T20:04:01.000Z","size":595,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-11T04:04:12.736Z","etag":null,"topics":["coffeescript","javascript","jquery","me","menu-navigation","sliding-menu","slidingmenu"],"latest_commit_sha":null,"homepage":"http://m-ulyanov.github.io/sliding-menu/","language":"HTML","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/maxulyanov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-12-04T20:56:13.000Z","updated_at":"2022-06-23T06:03:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff296a64-ace4-4d79-a0e2-46fdd1e1ca47","html_url":"https://github.com/maxulyanov/SlidingMenu","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/maxulyanov/SlidingMenu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxulyanov%2FSlidingMenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxulyanov%2FSlidingMenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxulyanov%2FSlidingMenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxulyanov%2FSlidingMenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxulyanov","download_url":"https://codeload.github.com/maxulyanov/SlidingMenu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxulyanov%2FSlidingMenu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278239967,"owners_count":25954097,"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-10-03T02:00:06.070Z","response_time":53,"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":["coffeescript","javascript","jquery","me","menu-navigation","sliding-menu","slidingmenu"],"created_at":"2024-11-24T20:13:23.497Z","updated_at":"2025-10-03T22:55:58.714Z","avatar_url":"https://github.com/maxulyanov.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SlidingMenu\nMagic sliding menu\n\n## Getting started\n1. Include jQuery\n2. Include SlidingMenu files (js and css)\n3. Create SlidingMenu with your options after window load\n\n```html\n\u003clink rel=\"stylesheet\" href=\"SlidingMenu.css\"\u003e\n\u003cscript src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"SlidingMenu.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n    $(window).on('load', function() {\n    \n      var $menu = $('.menu-example-id-1');\n      var $items = $menu.find('.menu-example__item');\n      new SlidingMenu({\n        'menu': $menu,\n        'items': $items,\n      });\n    \n    })\n\u003c/script\u003e\n```\n\n## Options\n\n### Required:\n\n\u003ccode\u003emenu\u003c/code\u003e — Wrapper items menu (jQuery object)\u003cbr\u003e\n\u003ccode\u003eitems\u003c/code\u003e — Items menu (jQuery object)\u003cbr\u003e\n### Not required:\n\n\u003ccode\u003eitemActiveClass\u003c/code\u003e — Active class current item menu (String). Default: 'active'\u003cbr\u003e\n\u003ccode\u003eslidingClass\u003c/code\u003e — Custom class sliding element (String). Default: ' '\u003cbr\u003e\n\u003ccode\u003edirection\u003c/code\u003e — Direction float sliding 'x' or 'y' (String). Default: 'x'\u003cbr\u003e\n\u003ccode\u003eduration\u003c/code\u003e — duration animation in mc (Number). Default: 400\u003cbr\u003e\n\n## Callbacks\n\n\u003ccode\u003eover\u003c/code\u003e — Call function during hover menu items\u003cbr\u003e\n\u003ccode\u003eleave \u003c/code\u003e— Call function during leave from wrapper menu\n\n```html\n\u003cscript\u003e\n$(window).on('load', function() {\n\n  var $menu = $('.menu-example-id-1');\n  var $items = $menu.find('.menu-example__item');\n  new SlidingMenu({\n    'menu': $menu,\n    'items': $items,\n  },\n  {\n    'over': over,\n    'leave': leave\n  });\n\n  function over(current, data) {\n    console.log('hover menu items')\n  }\n\n  function leave(current, data) {\n    console.log('leave menu')\n  }\n\n});\n\u003c/script\u003e\n```\n\n## Browser Support\n\nAll modern browsers and IE9+\n\n## Example\n\nSee detail example - \u003ca href=\"http://m-ulyanov.github.io/sliding-menu/ \"\u003eSlidingMenu\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxulyanov%2Fslidingmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxulyanov%2Fslidingmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxulyanov%2Fslidingmenu/lists"}