Skip to content

A jQuery plugin to bound a sticky div by another div on scroll.

Notifications You must be signed in to change notification settings

sfai05/floating-scroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bounded Scrolling

A jQuery plugin to bound a sticky div by another div on scroll.

Usage

Include the jQuery plugin (jQuery required)

<script src="js/jquery.bounded-scroll.js"></script>

Include the CSS

<link rel="stylesheet" type="text/css" href="css/bounded-scroll.css">

Set it up

$('#content-div').boundedScroll('#bounding-box');

Demo

View demo

About

A jQuery plugin to bound a sticky div by another div on scroll.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.6%
  • CSS 23.4%