{"id":28268954,"url":"https://github.com/vb/scrollhide","last_synced_at":"2025-12-12T03:05:34.627Z","repository":{"id":34438461,"uuid":"38372415","full_name":"vb/scrollhide","owner":"vb","description":"Hide element when scrolling down, show when scrolling up.","archived":false,"fork":false,"pushed_at":"2015-07-03T14:01:18.000Z","size":148,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T21:59:32.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/vb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-01T13:24:43.000Z","updated_at":"2020-03-18T11:25:31.000Z","dependencies_parsed_at":"2022-09-11T06:51:45.960Z","dependency_job_id":null,"html_url":"https://github.com/vb/scrollhide","commit_stats":null,"previous_names":["viktorbergehall/scrollhide"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vb/scrollhide","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb%2Fscrollhide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb%2Fscrollhide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb%2Fscrollhide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb%2Fscrollhide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vb","download_url":"https://codeload.github.com/vb/scrollhide/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vb%2Fscrollhide/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260663114,"owners_count":23044056,"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":"2025-05-20T15:13:48.636Z","updated_at":"2025-12-12T03:05:34.599Z","avatar_url":"https://github.com/vb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery Scrollhide [![Build Status](https://travis-ci.org/viktorbergehall/scrollhide.svg?branch=master)](https://travis-ci.org/viktorbergehall/scrollhide) ![Bower Version](https://badge.fury.io/bo/jquery-scrollhide.svg)\n\n### Hide element when scrolling down, show when scrolling up\n\nDesign pattern from Google Chrome and Safari mobile browsers.\n[Demo for mobile device](http://viktorbergehall.github.io/scrollhide/)\n\n## Usage\n\n1. Include jQuery:\n\n\t```html\n\t\u003cscript src=\"http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js\"\u003e\u003c/script\u003e\n\t```\n\n2. Include plugin's code:\n\n\t```html\n\t\u003cscript src=\"dist/jquery.scrollhide.min.js\"\u003e\u003c/script\u003e\n\t```\n\n3. Style the element/elements:\n\n    ```html\n    \u003cnav style=\"position: fixed; top: 0; width: 100%; height: 50px;\"\u003e\u003c/nav\u003e\n    ```\n\n4. Call the plugin:\n\n\t```javascript\n\t$(\"nav\").scrollhide();\n\t```\n\n## Structure\n\n```\n├── demo/\n│   └── index.html\n├── dist/\n│   ├── jquery.scrollhide.js\n│   └── jquery.scrollhide.min.js\n├── src/\n│   └── jquery.scrollhide.js\n├── .editorconfig\n├── .gitignore\n├── .jshintrc\n├── .travis.yml\n├── Gruntfile.js\n└── package.json\n```\n\n## Contributing\n\nCheck [CONTRIBUTING.md](https://github.com/viktorbergehall/scrollhide/blob/master/CONTRIBUTING.md) for more information.\n\n## History\n\nCheck [Releases](https://github.com/viktorbergehall/scrollhide/releases) for detailed changelog.\n\n## License\n\n[MIT License](http://viktorbergehall.mit-license.org) © Viktor Bergehall\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvb%2Fscrollhide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvb%2Fscrollhide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvb%2Fscrollhide/lists"}