【jQuery】要素を固定配置させるRelatively Sticky

Relatively Stickyは要素にposition: fixedを与え固定配置させるjQueryプラグイン。

Options

  1. speed: milliseconds (default: 0)
  2. offset: integer (default: 0)
  3. pickup: integer or ‘auto’ (default: ‘auto’)
  4. cssEasing: any default CSS easing (default: ‘ease’)

Usage

$('aside').relativelySticky();
$('aside').relativelySticky({
speed: 400,
offset: 30,
pickup: 150,
cssEasing: 'ease-in-out'
});

Browser Support

IE7+

 
relatively-sticky

【jQuery】要素を固定配置させるRelatively Sticky

  • LATEST
  • RELATED
  • POPULAR