jQuery.kabuki header image from Wikipedia What's jQuery Plugin Kabuki ? 'Kabuki' is Japanese Traditional Type and Art. Get Start initialize element bind "Kabuki".
jQuery 2.0 をビルドしてみよう jQuery 2.0 を自前でビルドしてみます。自前でビルドすることでモジュールを省くことができます。 ビルド ビルドするためにはgruntコマンドを使います。インストールしていない場合は、gruntをインストールしておきます。 gruntについては、nodebrew, npm, grunt 環境構築手順でインストールしてください。 また、grunt -version コマンドでgrunt-cliが入っていない場合は、grunt-cliをインストールしておきます。 $ grunt -version grunt-cli v0.1.7 grunt v0.4.1 ソース取得 githubからjqueryのソースを取得します git clone git://github.com/jquery/jquery.git 依存ファイル取得 npm install
jQueryのDeferredを使うと非同期処理を連結して簡潔に書けるよ という記事を読んだけど、いまいちピンと来ないのでサンプルを書くことにしました。 今回は、Webページの初期化処理が全て終わったらボタンを使用可能にするというサンプルを、Deferredあり/なしで書き比べたいと思います。 対象はjQuery.1.9です。 使ったファイルはここに置いておきます。 jquery-deferred.zip 初期化の流れ リストボックス「candidates」を、サーバのファイル「candidates.txt」を元に初期化する リストボックス「languages」を、サーバのファイル「languages.txt」を元に初期化する 上記2つの処理がどちらも完了したら、ボタンを有効化する ファイル構成 - deferred_0.html (deferred不使用) - deferred_1.ht
ヤフー株式会社は、2023年10月1日にLINEヤフー株式会社になりました。LINEヤフー株式会社の新しいブログはこちらです。LINEヤフー Tech Blog Yahoo!デベロッパーネットワークの中野(@Hiraku)です。これまで、JavaScriptで非同期処理を書く上での問題として、コールバック地獄やエラー処理に例外が使えないことなどを解説してきました。 これらの問題に対処するライブラリの1つであるjQuery.Deferredに関して、もう少し丁寧に解説いたします。なお、jQueryのバージョンは記事執筆時点の最新である、1.9.1を想定しています。 jQuery.Deferredとは jQuery.DeferredとはjQueryのバージョン1.5から導入された、非同期処理をうまく扱うための標準モジュールです。使いこなすことで、以下のような効果が見込めます。 非同期処理を連結
初心者向けの本とかだと、イベントを jQuery オブジェクトの後に直接指定する、 $('.foo').click(); のような書き方で説明されている場合が多いけど、少し複雑なことをしようとするとそれだと困ることが出てきます。そんなときに便利なのが on() を使ったイベント設定です。 on() ひとつで bind() live() delegate() を表せる jQuery 1.7 で、bind() live() delegate() がすべて on() に統合されたそうです。 つまり on() の書き方によって、3 パターンの使い方ができるということです。 .foo という要素をクリックしたら何かするという例で、イベントの設定と削除の方法をそれぞれ書いてみます。 bind() $('.foo').bind('click', function(){...}); は $('.foo')
SidrThe best jQuery plugin for creating side menus and the easiest way for doing your menu responsive You will be able to create multiple sidrs on both sides of your web to make responsives menus (or not, it works perfectly on desktop too). It uses CSS3 transitions (and fallbacks to $.animate with older browsers) and it supports multiple source types. Get startedLike any other plugin, you must inc
typeahead.js a flexible JavaScript library that provides a strong foundation for building robust typeaheads
The .on() method attaches event handlers to the currently selected set of elements in the jQuery object. As of jQuery 1.7, the .on() method provides all functionality required for attaching event handlers. For help in converting from older jQuery event methods, see .bind(), .delegate(), and .live(). To remove events bound with .on(), see .off(). To attach an event that runs only once and then remo
There’s a tonne of options to customize the date and time pickers, such as month/year selectors, time intervals, etc. There’s also a rich API to extend the functionality of the picker. Some examples are displayed on Codepen. When using the “classic” theme, it is important to have a wrapper div with position: relative around the source input to ensure the picker is sized according to the input elem
I have been using it quite substantially for a number of different projects now and must say that I absolutely love the way it works. - Soteri Panagou I've been using your grid on a couple of small projects and I've got to say it's an awesome piece of work. It's very easy to configure and offers a lot of features while staying really responsive. As a programmer it inspires me to write better code.
TOPICS Programming , Web , JavaScript 発行年月日 2013年01月 PRINT LENGTH 288 ISBN 978-4-87311-592-4 原書 jQuery Mobile: Up and Running FORMAT PDF jQuery Mobileによるモバイルアプリ開発の入門書。実践的な例を通して、jQuery Mobileフレームワークで用意されているUIコンポーネントを使ったマルチプラットフォーム対応のモバイルアプリ開発について学びます。本書を読み終える頃にはjQuery MobileとセマンティックなHTML5コードによるモバイルアプリ開発手法を身につけ、さまざまなスマートフォンやタブレットに対応するAjaxベースのレスポンシブなウェブアプリを作れるようになっているでしょう。対象読者は、iPhoneやAndroidといったスマート
DEMO link1 link2 link3 DOWNLOAD >> Latest version (GitHub) USAGE <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.x_x.js"></script> <script type="text/javascript"> $().ready(function() { $(selector).x_x(); }); </script> OPTIONS colorsdefault: #f09, #f03, #600, #0f9, #0f3, #063, #09f, #03f, #036 $(selector).x_x({ 'colors': ['red', 'white', 'b
One of the most important aspects about building smooth and responsive HTML5 applications is the synchronization between all the different parts of the application such as data fetching, processing, animations, and user interface elements. The main difference with a desktop or a native environment is that browsers do not give access to the threading model and provide a single thread for everything
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く