[jQuery] jquery-smooth-scroll: ページ内リンクをスムースにスクロールさせる

定番っぽい。

[markdown]
## License

MIT

## Browser Support

jQuery に依存かな。

## Installation

> * [kswedberg/jquery-smooth-scroll](https://github.com/kswedberg/jquery-smooth-scroll)

“`prettyprinted
% bower install jquery-smooth-scroll –save
“`

“`prettyprinted
bower_components/jquery-smooth-scroll
├── LICENSE-MIT
├── bower.json
├── index.html
├── jquery.smooth-scroll.js
├── jquery.smooth-scroll.min.js
└── readme.md
“`

## Usage

jQuery のあとにプラグインを読み込む。

“`html



“`

オプションもこんな形式で付けられる。

“`javascript
jQuery(function() {
‘use strict’;
jQuery(‘footer a’).smoothScroll({speed: 400});
});
“`

セレクタを指定、スピードを設定。

## 補遺

> * [ASCII.jp:jQueryプラグインでBootstrapをカスタマイズ (1/3)|イシジマミキの実践!「シングルページ」デザイン塾](http://ascii.jp/elem/000/000/949/949924/)
> * [jQueryで画面遷移のないサイトを作ろうとしたときのちょっとしたメモ | webOpixel](http://www.webopixel.net/javascript/527.html)
> * [Smooth Scrolling | CSS-Tricks](https://css-tricks.com/snippets/jquery/smooth-scrolling/)
[/markdown]