Hiker, photographer and software engineer documenting his travels around the world.
Hiker, photographer and software engineer documenting his travels around the world.
Subway Map Visualization jQuery Plugin I have always been fascinated by the visual clarity of the London Underground map. Given the number of cities that have adopted this mapping approach for their own subway systems, clearly this is a popular opinion. At a conference some years back, I saw a poster for the Yahoo! Developer Services. They had taken the concept of a subway map and applied it to cr
ブログネタ:JavaScript に参加中! XMLに続いてJSONの扱い方のメモです。 概要は以下の通り。 ・JSONの取得 JSONの取得はajaxメソッドやgetメソッドでもできますが、getJSONを使った方がシンプルです。 ・エンコード指定 呼び出す側と呼び出される側でエンコードが異なる場合はスクリプトのcharsetの指定が必須です(特にIE)。 ・取得したJSONの取り扱い JSONはeachメソッドやfor文で扱うことができます。 Google Ajax Feed APIを使って任意のフィードからJSONを取得し、タイトル5件を表示する例です。 ソース とりあえずエラー処理は入れていないです。 $(function() { $.ajaxSetup({scriptCharset:'utf-8'}); //charsetの指定(デフォルトの書き換え) $('#get_feed'
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く