These changes will make your plugin work with devices that have an gyroscope. If you move the device the parallax effect will be visible.
I try to finish the bugs in my spare time.
Updated to jquery 1.7.x
First devicemotionevent commit
basic parallax with iDevice
Some more stable code
Sorry for reformating code
Removed unused code
Corrected landscape mode
Switched to max version in demos
This is interesting, thanks for this.
I'm not going to merge it straight away, because:
I'm going to study what you've done here and try and implement device motion events as an option. Great idea.
This is ok. I know that styling was not necessary, but my IDE did it by itself, sorry for that.
I want to fix some more stuff tonight, maybe that could be interesting for you too. Eventually I will integrate the option for enabling disabling too.