Permalink
Browse files

better example

  • Loading branch information...
Cameron McEfee
Cameron McEfee committed Jan 13, 2012
1 parent a701261 commit b464c567252604e3a59371992669e7d00065a9ab
Showing with 1 addition and 1 deletion.
  1. +1 −1 readme.md
View
@@ -45,7 +45,7 @@ $.plax.enable()
If you would like your elements to parallax only when a certain element is moused over, you need to supply an argument to `enable()`
```javascript
-$.plax.enable({ "activityTarget": $('#shell')})
+$.plax.enable({ "activityTarget": $('#myPlaxDiv')})
```
You can dynamically redefine the range of a layer by running `plaxify()` on it again. If the id matches another id in the layer array, it will replace it with the new range.

0 comments on commit b464c56

Please sign in to comment.