Skip to content

jaredhill4/jquery-sticky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Sticky Element Plugin

This is a simple jQuery plugin I developed and used on client projects at White Lion Interactive.

Functionality

Sticky styling can be applied to an element by calling:

$('.my-sticky-element').sticky();

The plugin accepts an options object to allow configuration of:

  • breakpoint - the device width at which the sticky functionality should be disabled
  • offset - the distance from the top of the window at which sticky should start
  • stopper - an element below the sticky element in the DOM where the element should stop sticking

Note: This repo is for code review (read-only) purposes. The plugin relies on dependencies that are not not included in this project.

About

A jQuery plugin to create simple sticky elements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages