Skip to content

Commit

Permalink
Clean up readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ndp committed Mar 29, 2013
1 parent 3dd4bc2 commit 60e4f4f
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions README.markdown
Expand Up @@ -42,23 +42,7 @@ but generally all that is needed for most jobs.

### .fixie

"Pin" the given element to the top of the page on vertical scroll.
Also know as "conditional fixed placement".
See http://www.gregjopa.com/2011/07/conditional-fixed-positioning-with-jquery/

**Usage:**
```
$('#menu').fixie({ topMargin: '20px' });
```

There are various strategies available:
* `relative`: simply make the element positioned relative and
adjust position. Works with simple elements
* `relativeWithHiding`: same as above, except fades out and shows
elements as they move
* `fixed`: makes the element fixed positioned. TODO: insert
placeholder element

Moved into its own repo, github.com/ndp/fixie

## Jasmine Helpers

Expand Down

0 comments on commit 60e4f4f

Please sign in to comment.