jQueryを使った非同期通信(Ajax)処理中に、待機状態を示す「Now Loading」アニメーションを表示させる方法を解説します。シンプルなコードで、通信中にユーザーへ視覚的なフィードバックを提供できるため、利便性が向上します。 jQuery で非同期通信処理をしている間に「Now Loading」的なアニメーション画像を表示する、というのはよくあるパターンですが、その方法の解説です。 ローディング中の画像を表示するスクリプト 例えば、以下のような html の id="message" の内容を Ajax によって変更したい場合。 <p id="message">ここのメッセージが非同期通信後に変更されます。</p> <form method="GET" action="#"> <input type="button" value="ここをクリックでメッセージ変更" onclick
Description add lazy loading to WP, more info at http://plugins.jquery.com/project/lazyload Installation unzip archive to wp-content/plugins directory, and activate it in Plugins page in wp-admin or you can cd into your wordpress_root/wp-contents/plugins and do: git clone git://github.com/ayn/wp-jquery-lazy-load.git FAQ Installation Instructions unzip archive to wp-content/plugins directory, and a
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く