Permalink
Browse files

Added content to README.

  • Loading branch information...
1 parent 9969f60 commit 3af4c6e239182e0daf5bbf16a575034fd11ee58a @polarblau committed Jun 17, 2010
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>

0 comments on commit 3af4c6e

Please sign in to comment.