- Safari Web Content Guide: Handling Events
- jQuery Touchwipe Plugin - capture wipe events
- Can jQuery determine the orientation of the iPhone
- HOWTO: Create native-looking iPhone/iPad applications from HTML, CSS and JavaScript - includes this tip on detecting orientation change:
"If you want to take an action when the phone is rotated, listen for onorientationchangeevents on the body tag. The current orientation is in window.orientation, and it is encoded as the angle (in degrees) that the iPhone is rotated--0, -90 or 90--away from vertically upright."
Wednesday, April 6, 2011
Handling iPhone events
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment