
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@liquidlight/buttery-parallax
Advanced tools
Yes, another jQuery parallax image slider...
Buttery is a parallax image scroller which uses transforms and doesn't allow the user to scroll past the end of the image.
It creates a new element inside your selected element and sets the background. This element is then adjusted with CSS transforms.
Parameter | Default | Description |
---|---|---|
parallaxSelector | '.parallaxInner' | Class of the new div that gets created |
scale | 1.5 | The scale of the element/image |
height | image | How high the parallaxSelector box is (can be px , % or 'image' to use the image height) |
scrollFraction | 2 | What speed the scrolling effect is |
image | background | Whether to use a background image or image in the code |
$(window).on('load', function() {
$('.banner').buttery({
parallaxSelector: '.parallaxInner',
scale: 1.5,
height: 'image',
scrollFraction: 2,
});
});
We welcome pull requests and issues!
If making a PR, it would be handy if you could please run npm run dist
before committing and pushing. To run this you will need uglifyjs
installed as a global module.
If you can't run it, don't let it put you off - we'll run it our end 😀
FAQs
A parallax jQuery plugin
The npm package @liquidlight/buttery-parallax receives a total of 10 weekly downloads. As such, @liquidlight/buttery-parallax popularity was classified as not popular.
We found that @liquidlight/buttery-parallax demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.