Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added content to README.

  • Loading branch information...
commit 3af4c6e239182e0daf5bbf16a575034fd11ee58a 1 parent 9969f60
@polarblau authored
Showing with 42 additions and 0 deletions.
  1. +42 −0 README
View
42 README
@@ -0,0 +1,42 @@
+# Usage
+
+Basic options
+ $('#container').stickySectionHeaders();
+
+Settings and defaults
+ $('#container').stickySectionHeaders({
+ stickyClass : 'sticky',
+ headlineSelector : 'strong'
+ });
+
+
+Requires basic HTML structure
+ <div id="container">
+ <ul class="sections">
+ <li>
+ <strong>Section Headline 1</strong>
+ <ul>
+ <li id="id-1">Content line</li>
+ <li id="id-2">Content line</li>
+ <li id="id-3">Content line</li>
+ <li id="id-4">Content line</li>
+ </ul>
+ </li>
+ <li>
+ <strong>Section Headline 2</strong>
+ <ul>
+ <li id="id-5">Content line</li>
+ <li id="id-6">Content line</li>
+ </ul>
+ </li>
+ <li>
+ <strong>Section Headline 4</strong>
+ <ul>
+ <li id="id-14">Content line</li>
+ <li id="id-15">Content line</li>
+ <li id="id-16">Content line</li>
+ <li id="id-17">Content line</li>
+ </ul>
+ </li>
+ </ul>
+ </div>
Please sign in to comment.
Something went wrong with that request. Please try again.