Permalink
Browse files

added infographic for anchors

  • Loading branch information...
1 parent c2e7ecb commit d7755dd3aed1062addbffd35322ec397f66ea22d @Prinzhorn committed Jul 21, 2012
View
3 README.md
@@ -96,6 +96,9 @@ The syntax is ```data-[offset]-(viewport-anchor)-[element-anchor]```, where ```o
I guess you get the point ;-)
+Here's an infographic for better understanding of anchors:
+[![Anchors Guide](https://raw.github.com/Prinzhorn/skrollr/master/guide/anchor-position-guide.png)](https://raw.github.com/Prinzhorn/skrollr/master/guide/anchor-position-guide.pdf)
+
**Important**: All those values will be calculated up-front and transformed to ```absolute``` mode. So if either the element's box height changes (height, padding, border) or the elements position within the document, you need to call ```refresh()``` (see documentation in JavaScript section below).
### Filling missing values
View
BIN guide/anchor-position-guide.pdf
Binary file not shown.
View
BIN guide/anchor-position-guide.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d7755dd

Please sign in to comment.