Socket
Book a DemoInstallSign in
Socket

jquery-scrollable-sticky

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-scrollable-sticky

A jQuery plugin which enables fixed positioned elements, that are higher than the viewport, to be scrolled.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

jQuery Scrollable Sticky

Improve your fixed positioned vertical navigations

You know those fixed positioned navigations, that are too long for your display to show all items at once? This is a jQuery plugin which provides a clever solution for you to keep these, without compromising your visitors experiences.

Live demo

Download

Also available through bower.

How to use

  • Grab the JS file
  • Include it, duh :-)
  • Use scrollableSticky on your jQuery object

Note: The element which you want to have fixed, doesn't have to be fixed already. The appropriate position will be calculated so the element will only move vertically.

$('div.fixme').scrollableSticky();

Demo

Check demo/index.html. Clone or grab a zip, then open this file in your browser.

Options

offset is used to specify a margin below the floating element

FAQs

Package last updated on 25 Nov 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.