スマートフォンでは、もう1つ非常に重要なイベントがあります。それは「画面の向きの切り替え」イベントです。 AndroidやiPhoneでは、端末を縦向きにしたり横向きにしたりすると、自動的にアプリの向きが90度回転し、それにあわせて大きさなどが調整されます。jQuery Mobileには、この「向きの回転」に関するイベントが用意されています。「orientationchange」というイベントで、これをバインドすることで、回転時に必要な処理を行わせることができます。 下のリスト欄に、簡単な利用例を挙げておきます。画像を回転させると、その向きに応じて「縦向き(portrait)です。」「横向き(landscape)です。」とメッセージが表示されます。実は、やってみるとわかるのですが、このイベント、パソコンのWebブラウザでもちゃんと機能します。パソコンで、Webブラウザのウインドウサイズを横
このブログのスマートフォンページをjQuery Mobileを使用して制作してみました。 それ以前はjQuery Mobileについてほぼ知識0の状態だった私が、今回の制作にあたり役に立ったサイトをまとめました。 このブログのスマートフォンページをjQuery Mobileを使用して制作してみました。 それ以前はjQuery Mobileについてほぼ知識0の状態だった私が、 今回の制作にあたり役に立ったサイトをまとめました。 jQuery Mobile | jQuery Mobile 本家本元。 敢えて紹介するまでもないのですが一応。 現在のバージョンは1.0RC2(2011.11.01現在)です。そろそろ正式版がでる予定です。 jQuery Mobile 1.0b1 日本語リファレンス jQuery Mobile 1.0b1 日本語リファレンス バージョン1までの内容ですがjQuery
\閉鎖予定のサイトも売れるかも?/ アクセスがないサイトもコンテンツ価値で売れる場合も… ドメインの有効期限を更新してサイト売却にトライしてみましょう
Introduction In the ever-evolving landscape of web browsing, staying abreast of the latest technologies is crucial. HTML5, the fifth and current version of the Hypertext Markup Language, has revolutionized the way we experience the web. With its advanced features and enhanced capabilities, HTML5 has become the cornerstone of modern web development, offering a more seamless and interactive user exp
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く