Slinky
A light-weight, responsive, mobile-like navigation menu plugin
Install / Use
/learn @alizahid/SlinkyREADME

Slinky
Rather sweet menus
A light-weight, responsive, mobile-like navigation menu plugin
Demo
Installation
Download the latest version. The files you need are
Bower
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
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>
Usage
const slinky = $('.menu').slinky(options)
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 |
API
.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
Tips
- Set
.activeon aulelement to jump there on init
Related Skills
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
