
   <h2>Example</h2>
   <p>The subnavigation on the left is a live demo of the affix plugin.</p>

   <hr class="bs-docs-separator">

   <h2>Usage</h2>

   <h3>Via data attributes</h3>
   <p>To easily add affix behavior to any element, just add <code>data-spy="affix"</code> to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.</p>

   <pre class="prettyprint linenums">&lt;div data-spy="affix" data-offset-top="200"&gt;...&lt;/div&gt;</pre>

   <div 