向きを取得するイベント
当初無いとされていた、iPod touch本体の向きを取得するイベントが、1.1.1のファームで追加されたようだ。
向きが変わると、bodyのonOrientationChangeイベントが上がり、window.orientationの値で向きが分かるようになっている。
実例サンプルはこちら http://touch.wakufactory.jp/sample/orientation.html
当初無いとされていた、iPod touch本体の向きを取得するイベントが、1.1.1のファームで追加されたようだ。
向きが変わると、bodyのonOrientationChangeイベントが上がり、window.orientationの値で向きが分かるようになっている。
実例サンプルはこちら http://touch.wakufactory.jp/sample/orientation.html