Plugin jQuery: jQuery lockfixed

jQuery lockfixed
http://www.jqueryrain.com/?http://www.directlyrics.com/code/lockfixed/
http://www.directlyrics.com/code/lockfixed/
gins, , Web
03/04/2013

Nội dung

jQuery lockfixed

Allow elements to stick within viewport when scrolling. Toggles position: fixed only after scrolling the viewport. Degrades nicely on mobile and tablet browsers.

Supports:

  • Doesn’t overflow footer because footer pushes elements up.
  • Doesn’t need any hardcoded CSS tricks.
  • All major browsers through position:fixed and iOS/Android/IE7 degrade through margin offset.
  • Fixes tablet and mobile zoom issue with fixed
  • Offset position from top and bottom within scrolled viewport.
  • Super light weight: 2.6kb uncompressed.
  • Div layout structure can be floats or position: absolute support.
Tags: Fixed Header

Nguồn: www.jqueryrain.com/2013/04/jquery-lockfixed/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận