
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Adds parallax effect to images and videos.
parallaxy.js is available as an npm package.
npm install parallaxy --save
Add parallaxy.min.js to the bottom of the <body>
like this:
<script src="parallaxy.min.js"></script>
This is an very early version of parallaxy.
In this example the image will have a parallaxy effect.
<div data-parallaxy>
<img src="image.jpg">
<div data-parallaxy-ignore>
<h1>Content above</h1>
</div>
</div>
If the DOM has changed and you want to reset Parallaxy, just run;
Parallaxy.refresh();
Options must be passed via data-attributes. Append the option name to data-parallaxy-
, as in data-parallaxy-speed="0.25"
.
Name | Type | Default | Description |
---|---|---|---|
speed | Float | 0.5 | Adjust parallaxy effect from 0-1 (none-max) |
ignore | Boolean | false | Ignore parallaxy effect on this element |
Global options (data-attribute):
Name | Type | Default | Description |
---|---|---|---|
ignoresmoothscroll | Boolean | null | Ignore smoothMouseWheel. Place anywhere |
Coming soon. Uses CSS translate2D to scale and position images.
The code is available under the MIT License.
FAQs
Adds parallax effect to images and videos
The npm package parallaxy receives a total of 1 weekly downloads. As such, parallaxy popularity was classified as not popular.
We found that parallaxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.