Skip to content

danielxiaowxx/stickUp-daniel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stickUp

a jQuery plugin

A simple plugin that "sticks" an element to the top of the browser window while scrolling past it, always keeping it in view. This plugin works on multi-page sites, but has additional features for one-pager layouts.

Please Visit the GitHub Page for installation instructions.

Daniel Improvement

  1. 元素居顶固定时的宽度保持与原来不变
  2. 增加fixTopVal option:元素居顶固定时与顶部的距离
  3. 精简了滚动时变化的代码
  4. 支持同一个页面多个元素进行居顶固定

About

stickUp a jQuery Plugin for sticky navigation menus.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 86.9%
  • CSS 13.1%