{"id":20915464,"url":"https://github.com/jqueryscript/jquery-smooth-parallax","last_synced_at":"2026-04-30T05:35:59.331Z","repository":{"id":67390710,"uuid":"218768616","full_name":"jqueryscript/jquery-smooth-parallax","owner":"jqueryscript","description":"A clean parallax in jquery, simple to integrate, and totally responsive.","archived":false,"fork":false,"pushed_at":"2019-10-31T13:11:54.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T23:15:06.119Z","etag":null,"topics":["javascript","jquery-plugin","parallax","parallax-effect","parallax-scrolling"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/jqueryscript.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}},"created_at":"2019-10-31T13:08:57.000Z","updated_at":"2019-10-31T13:11:56.000Z","dependencies_parsed_at":"2023-02-23T13:15:36.168Z","dependency_job_id":null,"html_url":"https://github.com/jqueryscript/jquery-smooth-parallax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jqueryscript/jquery-smooth-parallax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jqueryscript%2Fjquery-smooth-parallax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jqueryscript%2Fjquery-smooth-parallax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jqueryscript%2Fjquery-smooth-parallax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jqueryscript%2Fjquery-smooth-parallax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jqueryscript","download_url":"https://codeload.github.com/jqueryscript/jquery-smooth-parallax/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jqueryscript%2Fjquery-smooth-parallax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32456167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["javascript","jquery-plugin","parallax","parallax-effect","parallax-scrolling"],"created_at":"2024-11-18T16:15:12.442Z","updated_at":"2026-04-30T05:35:54.322Z","avatar_url":"https://github.com/jqueryscript.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jquery smooth parallax\nA clean parallax in jquery, simple to integrate, and totally responsive.\n\nOriginal Author: https://github.com/Najdaoui\n\nLive Demo : [https://www.jqueryscript.net/demo/parallax-image-smooth/](https://www.jqueryscript.net/demo/parallax-image-smooth/).\n\n## Getting Started\n\nThese instructions will provide you with a copy of the operational project for development and testing purposes. Remember that any code depends on the context of your project.\n\n### Prerequisites\n\nMake sure that in your css style, the width and height of the body and html tags are set to 100%.\n\nHowever, you can add the line below to your css file to make sure it works.\n\n```\nhtml, body {width: 100%; height: 100%}\n```\nThis plugin uses ```reset.css```. You can use it yourself too. For more information on ```reset.css``` [click here](https://gist.github.com/DavidWells/18e73022e723037a50d6 \"Source code - reset.css\").\n\n## Installation\n\nFirst of all, place this tags below in your head:\n\n```\n\u003cscript src=\"https://code.jquery.com/jquery-3.4.1.min.js\"\u003e\u003c/script\u003e\n\u003clink rel=\"stylesheet\" href=\"jquery-smooth-parallax.css\"\u003e\n\u003cscript src=\"jquery-smooth-parallax.js\"\u003e\u003c/script\u003e\n```\n\nBe sure to mention the branch where you will place ```jquery-smooth-parallax.css``` and ```jquery-smooth-parallax.js```\n\nIf your folder is called assets, the src and href attributes will be like that: ```assets/jquery-smooth-parallax.css``` and ```assets/jquery-smooth-parallax.js```\n\nCopy the hero section in your project:\n\n```\n\u003csection name=\"hero\" class=\"hero-section\"\u003e\n  \u003cimg src=\"YOUR-IMAGE\" alt=\"\" class=\"hero-image\"\u003e\n  \u003cdiv class=\"hero-wrapper\"\u003e\n    \u003cdiv class=\"hero-content\"\u003e\n      \u003ch1 class=\"hero-title\"\u003eYOUR TITLE\u003c/h1\u003e\n      \u003cp class=\"hero-subtitle\"\u003eYOUR SUBTITLE\u003c/p\u003e\n      \u003ca href=\"\"\u003eYOUR BUTTON\u003c/a\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n \u003c/section\u003e\n```\n\n### Two button case\n\nIf you want to put two buttons in the hero section, use the following code:\n\n```\n\u003csection name=\"hero\" class=\"hero-section\"\u003e\n  \u003cimg src=\"YOUR-IMAGE\" alt=\"\" class=\"hero-image\"\u003e\n  \u003cdiv class=\"hero-wrapper\"\u003e\n    \u003cdiv class=\"hero-content\"\u003e\n      \u003ch1 class=\"hero-title\"\u003eYOUR TITLE\u003c/h1\u003e\n      \u003cp class=\"hero-subtitle\"\u003eYOUR SUBTITLE\u003c/p\u003e\n      \u003cdiv class=\"hero-btns\"\u003e\n        \u003cdiv class=\"btn\"\u003e\n          \u003ca href=\"\"\u003eYOUR BUTTON 1\u003c/a\u003e\n        \u003c/div\u003e\n        \u003cdiv class=\"btn\"\u003e\n          \u003ca href=\"\"\u003eYOUR BUTTON 2\u003c/a\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n \u003c/section\u003e\n```\n\n## Deployment\n\nBy default, the opacity of the image is set to 0.55 to create an overlay, and the background of the section is black. To change it, follow these instructions:\n\n### Opacity\n\n#### Step 1:\nIn line 10 of the ```jquery-smooth-parallax.css``` file, change the ```opacity``` from ```0.55``` to the value you want.\n\n#### Step 2:\nIn lines 11, 13, 25 of the ```jquery-smooth-parallax.js``` file, change the opacity from ```0.55``` to **the value that you set in the css file**.\n\n### Background\nIn line 2 of the ```jquery-smooth-parallax.css``` file, change the ```background``` from ```#000``` to the color you want.\n\n## Credits\n\n* JQuery : [Source code](https://code.jquery.com/jquery-3.4.1.min.js \"Version 3.4.1\").\n* Css - reset.css : [Source code](https://gist.github.com/DavidWells/18e73022e723037a50d6 \"Source code - reset.css\").\n* Image : Photo by [Daan Huttinga](https://unsplash.com/@daanhuttinga) on [Unsplash](https://unsplash.com/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjqueryscript%2Fjquery-smooth-parallax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjqueryscript%2Fjquery-smooth-parallax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjqueryscript%2Fjquery-smooth-parallax/lists"}