
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
jquery-slinky
Advanced tools
Rather sweet menus
A light-weight, responsive, mobile-like navigation menu plugin
Download the latest version. The files you need are
bower install jquery-slinky
Include these files
<link rel="stylesheet" src="bower_components/slinky/dist/slinky.min.css" />
<script src="bower_components/slinky/dist/slinky.min.js"></script>
npm install jquery-slinky
Include these files
<link rel="stylesheet" src="node_modules/slinky/dist/slinky.min.css" />
<script src="node_modules/slinky/dist/slinky.min.js"></script>
const slinky = $('.menu').slinky(options)
Option | Default | Description |
---|---|---|
resize | true | Resize menu height to match content on navigation |
speed | 300 | Animation speed in milliseconds |
theme | slinky-theme-default | Slinky theme |
title | false | Show title of sub menu |
.home(animate)
Navigate back to the root menu
Option | Default value | Description |
---|---|---|
animate | true | Pass false to skip animation |
.jump(target, animate)
Navigate to a sub menu
Option | Default value | Description |
---|---|---|
to | Selector for ul target to jump to | |
animate | true | Pass false to skip animation |
.destroy()
Remove Slinky
.active
on a ul
element to jump there on initFAQs
Rather sweet menus
The npm package jquery-slinky receives a total of 359 weekly downloads. As such, jquery-slinky popularity was classified as not popular.
We found that jquery-slinky 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 Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
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.