<commit_before># jquery-offset-scroller

A jQuery plugin to enable smooth scrolling to a page anchor/id with a configurable offset.

An offset can be helpful for pages with a fixed position header.

## Demo

See <a href="http://codepen.io/masonhale/pen/BKLdqE/">jQuery offsetScroller</a> on <a href="http://codepen.io">CodePen</a>.

## Options
  - offsetPixels - subtracted from target position. Default: 0
  - animationSpeed - milliseconds to reach target. Default: 500

## Usage
```html
<script>
  // update offsetPixels default to account for fixed position header
  $().offsetScroller.defaults.offsetPixels = 92;

  // add scroller for all '#anchor' links
  $(document).ready(function() {<commit_msg>Add link to gh-pages<commit_after># jquery-offset-scroller

A jQuery plugin to enable smooth scrolling to a page anchor/id with a configurable offset.

http://masonhale.github.io/jquery-offset-scroller

## Demo

See <a href="http://codepen.io/masonhale/pen/BKLdqE/">jQuery offsetScroller</a> on <a href="http://codepen.io">CodePen</a>.

## Options
  - offsetPixels - subtracted from target position. Default: 0
  - animationSpeed - milliseconds to reach target. Default: 500

## Usage
```html
<script>
  // update offsetPixels default to account for fixed position header
  $().offsetScroller.defaults.offsetPixels = 92;

  // add scroller for all '#anchor' links
  $(document).ready(function() {
{'fraction_non_alphanumeric': 0.12, 'fraction_numerical': 0.008571428571428572, 'mean_word_length': 4.227611940298507, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2418842', 'n_tokens_mistral': 449, 'n_tokens_neox': 417, 'n_words': 138}