<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3622033303794111835</id><updated>2024-10-05T12:23:14.827+09:00</updated><title type='text'>Webアプリつくってみようよ。</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-5049331855419426681</id><published>2013-03-14T20:00:00.003+09:00</published><updated>2013-03-14T22:14:58.755+09:00</updated><title type='text'>sencha touchであとやっておきたいことメモ</title><content type='html'>&lt;a href=&quot;http://taktodtools.appspot.com/musicTube/index.html&quot;&gt;MusicTube&lt;/a&gt;ですが、機能が充実してきました。&lt;br /&gt;
いまのところバージョン0.12(beta)です。&lt;br /&gt;
&lt;br /&gt;
昨日android端末でもちゃんと動作するようにしたいなと思い、sencha touchのaudio用の動作Ext.Audioをやめて、audioTagを自分で書く形に修正したのですが、いくつかまだ不備があるみたいです。&lt;br /&gt;
&lt;br /&gt;
というわけでやったこととやっておきたいことのメモ&lt;br /&gt;
&lt;br /&gt;
やったこと：&lt;br /&gt;
・swipeメニュー移動(タイトルバーをswipeすると移動します。)&lt;br /&gt;
・簡単プレイリスト変更機能(タイトルバーダブルタップで変更)&lt;br /&gt;
・playerをaudioタグからsenchaのスキンベースのカスタムに変更。&lt;br /&gt;
・スキンの入れ替え機能(Ads &amp;amp; Secrets)&lt;br /&gt;
・player再生速度変更機能(Ads &amp;amp; Secrets)&lt;br /&gt;
・youtubeへのリンク機能(曲リストで左にswipeする)&lt;br /&gt;
&lt;br /&gt;
やらないといけないこと：&lt;br /&gt;
・pickerの下にtextボックスもしくはtextAreaがあるときの対策&lt;br /&gt;
・バージョン通知動作&lt;br /&gt;
・安全なバージョン更新動作&lt;br /&gt;
・壊れたときにリセットするページ準備&lt;br /&gt;
・各secretの動画準備とリンクをつくる件&lt;br /&gt;
・background再生時に複数曲リスト動作がきちんと動作するようにする件&lt;br /&gt;
&lt;br /&gt;
このあたりやっておきたいところ。&lt;br /&gt;
&lt;br /&gt;
で、どうやって対処するか。(一応予想です)&lt;br /&gt;
&lt;br /&gt;
・pickerの下にtextボックスもしくはtextAreaがあるときの対策&lt;br /&gt;
→picker選択時に対象エレメントをreadOnlyにする、pickerがなくなったときにreadOnlyを解除する。&lt;br /&gt;
で、いけると思う。&lt;br /&gt;
&lt;br /&gt;
・バージョン通知動作&lt;br /&gt;
→適当なjsonファイルをつくっておいておき、ページにアクセスしたときにajax通信で確認させる。&lt;br /&gt;
&lt;br /&gt;
・安全なバージョン更新動作&lt;br /&gt;
→localStorageからsenchaのつくっている部分を削除してやればいけるはず。&lt;br /&gt;
ただし更新時の読み込み量はふえちゃうけど。&lt;br /&gt;
&lt;br /&gt;
・壊れたときにリセットするページ準備&lt;br /&gt;
→同上localStorageからsenchaのコントロール部分を削除してやればよいはず。&lt;br /&gt;
&lt;br /&gt;
・各secretの動画準備とリンクをつくる件&lt;br /&gt;
→動画を撮ってyoutube&lt;br /&gt;
&lt;br /&gt;
・background再生時に複数曲リスト動作がきちんと動作するようにする件&lt;br /&gt;
→ひたすらデバッグする。&lt;br /&gt;
&lt;br /&gt;
こんな感じか。&lt;br /&gt;
さて、１つずつやってくか。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/5049331855419426681/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2013/03/sencha-touch.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/5049331855419426681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/5049331855419426681'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2013/03/sencha-touch.html' title='sencha touchであとやっておきたいことメモ'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-3535136504304929156</id><published>2013-03-08T19:54:00.002+09:00</published><updated>2013-03-08T19:54:29.988+09:00</updated><title type='text'>musicTubeをsencha touch化しました。</title><content type='html'>もともとjqmobiでつくっていたmusicTubeですが、sencha touchに変えました。&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
理由は・・・&lt;/div&gt;
&lt;div&gt;
・タップイベントがどうも内部でループしてるっぽい。&lt;/div&gt;
&lt;div&gt;
・あたらしいappmobiのcdnが文字化けして使えない。(古い方のcdnが生き残っていますがいつ消されるかわからないし。)&lt;/div&gt;
&lt;div&gt;
ということでsenchaに手をだしてみました。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
で、できたのがこちら&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://taktodtools.appspot.com/musicTube/index.html&quot;&gt;http://taktodtools.appspot.com/musicTube/index.html&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
今回このアプリを作る上でつかったものですが・・・&lt;/div&gt;
&lt;div&gt;
・senchaコマンドの利用&lt;/div&gt;
&lt;div&gt;
・sassの変更によるcssのコンパイル&lt;/div&gt;
&lt;div&gt;
・sencha-SlideNavigationの利用&lt;/div&gt;
&lt;div&gt;
・Historyサポートの利用&lt;/div&gt;
&lt;div&gt;
・Ext.dataview.ListをやめてExt.dataview.DataViewを利用&lt;/div&gt;
&lt;div&gt;
・audioタグnativeのコントロールをとりやめ、senchaで書き直し&lt;/div&gt;
&lt;div&gt;
・setHtmlによるtext書き直しをやめてinput textによる書き直しに変更&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
このあたりつかってます。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
まずsenchaコマンドの利用です。&lt;/div&gt;
&lt;div&gt;
sencha touchでは、動作を便利にするコマンドプログラムを公開されてます。&lt;/div&gt;
&lt;div&gt;
どうやら中身はjavaで書かれてるっぽいですね。利用するとhtmlやjavascript、cssの最適化等を実行してファイルサイズを小さくしてくれたり、httpのアクセス回数を軽減してくれたりと、いろいろとやってくれます。&lt;/div&gt;
&lt;div&gt;
またプロジェクトのテンプレートを自動で生成してくれるので、作業効率が若干あがるかもしれません。&lt;/div&gt;
&lt;div&gt;
よく使うコマンドは&lt;/div&gt;
&lt;div&gt;
$ sencha generate app (アプリ名) (設置パス)&lt;/div&gt;
&lt;div&gt;
$ sencha app build production&lt;/div&gt;
&lt;div&gt;
$ sencha generate controller (コントローラー名)&lt;/div&gt;
&lt;div&gt;
このあたりです。&lt;/div&gt;
&lt;div&gt;
上から順に&lt;/div&gt;
&lt;div&gt;
・アプリのテンプレート作成&lt;/div&gt;
&lt;div&gt;
→こちらは生成用のコマンドがバージョンによってかわるみたいです。&lt;/div&gt;
&lt;div&gt;
わかりにくいので、senchaつかっている人に尋ねるのが一番手っ取り早いかも。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
・deploy用のデータ生成&lt;/div&gt;
&lt;div&gt;
→こちらは頻繁にお世話になるコマンド、できたプログラムをコンパクトにしてくれます。&lt;/div&gt;
&lt;div&gt;
10Mくらいあるのが1M程度まで縮んだりしますね。&lt;/div&gt;
&lt;div&gt;
便利なんですが、生成DOMの構成とかまで変わってしまうので、変わったことをしている場合は要注意です。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
・コントローラー自動生成&lt;/div&gt;
&lt;div&gt;
viewもいくつかつくっているのですが、こちらはコマンドではなく、手書きでつくっています。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
続いてsassの利用&lt;/div&gt;
&lt;div&gt;
cssなのに変数とか条件分岐とか関数とかがつかえるアレです。&lt;/div&gt;
&lt;div&gt;
利用するのに、compassのインストールが必要です。&lt;/div&gt;
&lt;div&gt;
で、使うコマンドは$ compass compile&lt;/div&gt;
&lt;div&gt;
とりあえず３点だけ手を加えています。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
１つ目はpictosアイコンの追加です。&lt;/div&gt;
&lt;div&gt;
必要なアイコンだけ利用できるので、便利ですね。ただ、始めはやり方がわからなくて、アイコン画像はあるのに使えないじゃないか、って思ってしまいました。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
２つ目はsassファイルを自作しました。&lt;/div&gt;
&lt;div&gt;
理由はExt.dataview.Listの動作が気に入らなかったのでExt.dataview.DataViewを利用することにしたのですが、選択状態のいい感じのcss定義がなかったので、それを記述するのに使いました。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
３つ目はplayerをsencha化するときにsliderを利用しているのですが、大きさが気に入らなかったのでサイズの変更を実施してあります。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
次につかったのがsencha slideNavigationです。&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://github.com/wnielson/sencha-SlideNavigation&quot;&gt;https://github.com/wnielson/sencha-SlideNavigation&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
facebookアプリにあったという横にスライドさせるとメニューがでるやつです。&lt;/div&gt;
&lt;div&gt;
簡単に利用できるんですが、タイトルバーのflicによる遷移を追加しようとしたり、historyサポートと連携させようとしたときに、ちょっと動作の解析する必要になったのが面倒でした。&lt;/div&gt;
&lt;div&gt;
最近senchaがどうやっているのかわかってきたので、この部分も自作しちゃおうかなとおもったりしています。というのも左右のスライド動作がちょっと動きが良くないんですよね。もっとうまい動作つくれると思うんで、いじろうかな・・・と。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Historyサポート。&lt;/div&gt;
&lt;div&gt;
httpのhashの部分を変更することで、ブラウザの戻るを実行したときに、アプリケーションのパネルを入れ替えることができるようになるという。&lt;/div&gt;
&lt;div&gt;
あと、historyに検索キーワードをいれることで、検索履歴も残るといういい点もあります。&lt;/div&gt;
&lt;div&gt;
動作をつくるのはコントローラーに細工すればいいだけなので、簡単だったんですが、結果をslideNavigationに適応するのが面倒でした。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Ext.dataview.ListをやめてExt.dataview.DataViewを利用した件。&lt;/div&gt;
&lt;div&gt;
Ext.dataview.Listをつかって大量の曲を並べた場合、動作が引っかかる現象が発生しました。&lt;/div&gt;
&lt;div&gt;
chromeの要素解析で確認したところ、Listの要素ごとにcssアニメーションが動いていたみたいです。計算項目が増えて動作が悪くなるということになっていた模様です。&lt;/div&gt;
&lt;div&gt;
で、Listはさくっとあきらめて、一つ上のDataViewを直接いじりました。&lt;/div&gt;
&lt;div&gt;
現状ではほぼ同じ動作(アイテムの区切りが微妙になかったりしますが)ですが、cssアニメーション的には１枚の板が移動している感じになっています。&lt;/div&gt;
&lt;div&gt;
list系のコンポーネントは内部のデータの位置計算を大量に実行するとパフォーマンスがわるくなるみたいですね。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Audioタグをやめた件。&lt;/div&gt;
&lt;div&gt;
もともとplayerの部分はaudioタグのnative controlをつかって表示させていたのですが、これもsenchaとの相性があまり良くないみたいです。パネルのスライド移動を取り入れたところ、スライド移動中に全く関係ないところに一瞬ワープしたり、pickerコンポーネントを出しているときに、pickerではなくaudioコントロールが動いたりしましたので、修正しました。&lt;/div&gt;
&lt;div&gt;
ボタンとスライダーと時間表示の３つだけの簡単なものですが、まぁ上出来な動作になっているかと思います。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
setHtmlによるデータの書き直しをやめた件。&lt;/div&gt;
&lt;div&gt;
再生時間を表示させるために、panelのhtml要素としてデータを書き出していたのですが、これが他の要素(特にlistのところ)に悪影響を与えていたみたいです。&lt;/div&gt;
&lt;div&gt;
setHtmlでデータを書き直すと、変更するたびにコンポーネントの要素計算がはいるみたいで、動作に悪影響を与えてしまうという・・・&lt;/div&gt;
&lt;div&gt;
仕方ないので表示部をinputのtextに変更し、書き直しさせるようにしました。(input要素なら変更したときにhtmlの要素計算がはいらないみたいです。)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
と、こんなことを駆使しつつ、音楽を簡単に持ち歩けるようなwebアプリを作りました。&lt;/div&gt;
&lt;div&gt;
やってみてわかったことは要素の表示変更はなるべくさけつつ、動作するように調整した方がパフォーマンスがあがるということですね。要はjavascriptよりcss使えと・・・&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
あーslideNavigation改良したいなぁ・・・やっちゃおうかなぁ・・・&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/3535136504304929156/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2013/03/musictubesencha-touch.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/3535136504304929156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/3535136504304929156'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2013/03/musictubesencha-touch.html' title='musicTubeをsencha touch化しました。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-8935625196900844258</id><published>2013-02-24T12:04:00.000+09:00</published><updated>2013-02-24T12:04:26.015+09:00</updated><title type='text'>sencha touch 2.1.1に手をだしてみる。</title><content type='html'>とりあえず、musicTubeをsencha化しようと思います。&lt;div&gt;
senchaにすると動作が安定すると思いたい。&lt;/div&gt;
&lt;div&gt;
まぁ、物は試しです。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
さて、senchaは以前1のバージョンの方をいじったことがあるのですが、動作はいいもののサイズがでかくてちょっときつい(特にBackgroundで動かしたままだときつい)と思っていました。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
まぁ、でもsenchaコマンドが充実してきたっぽいし、そのコマンドが最適化してくれるっぽいし、ちょっと前にあったsenchaのwebアプリコンテストのときにちょっとかじったし・・・ということで、また手をだしてみたいと思います。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
では早速はじめます。&lt;/div&gt;
&lt;div&gt;
まず、sencha touchを入手します。&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.sencha.com/products/touch/download/&quot;&gt;http://www.sencha.com/products/touch/download/&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
登録するのは面倒なので&lt;/div&gt;
&lt;div&gt;
Download for 2.1.1 GPLを選択します。&lt;/div&gt;
&lt;div&gt;
→sencha-touch-2.1.1-gpi.zipを入手しました。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
続いてsencha commandを入手します。&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://www.sencha.com/products/sencha-cmd/download&quot;&gt;http://www.sencha.com/products/sencha-cmd/download&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
→SenchaCmd-3.0.2.288-osx.app.zipを入手しました。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
まずはコマンドのインストール、特に問題あるところはなかったので、そのまま最後までいきました。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheK8wU02YpAGflwoFpDFcKKUUjzueCuT9D1DnzlR5eTZi-s8uWUBgP-UG8uRebxdnxSluTW01UH8i2eUHDjo3LkDOGDXa848LAa38tnj4CZGpm5E-Er4O86iRZQjKBlq_ez_YYpV4_Udw/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-24+11.58.12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;303&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheK8wU02YpAGflwoFpDFcKKUUjzueCuT9D1DnzlR5eTZi-s8uWUBgP-UG8uRebxdnxSluTW01UH8i2eUHDjo3LkDOGDXa848LAa38tnj4CZGpm5E-Er4O86iRZQjKBlq_ez_YYpV4_Udw/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-24+11.58.12.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
macのterminalでコマンドを実行するとこんな感じ。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhExdGdDbpUNofhyphenhyphenF_vxLPoQBSnzT0rgNLJhSaKiK3fK8Uf-4NugMuErELy3JGgck6SjzdH2Fbiq7bYwBU3Xs9qFb-csntSi0RSsdTS-fTBfCBCg7loZGTes1ZBE6-n9Mc9VW_gdDnH4k8/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-24+11.59.40.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhExdGdDbpUNofhyphenhyphenF_vxLPoQBSnzT0rgNLJhSaKiK3fK8Uf-4NugMuErELy3JGgck6SjzdH2Fbiq7bYwBU3Xs9qFb-csntSi0RSsdTS-fTBfCBCg7loZGTes1ZBE6-n9Mc9VW_gdDnH4k8/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-24+11.59.40.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
sencha-touch-2.1.1-gpi.zipこちらは解凍するとtouch-2.1.1/というディレクトリができました。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
とりあえずこれで必要なものは入手しました。&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/8935625196900844258/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2013/02/sencha-touch-211.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8935625196900844258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8935625196900844258'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2013/02/sencha-touch-211.html' title='sencha touch 2.1.1に手をだしてみる。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheK8wU02YpAGflwoFpDFcKKUUjzueCuT9D1DnzlR5eTZi-s8uWUBgP-UG8uRebxdnxSluTW01UH8i2eUHDjo3LkDOGDXa848LAa38tnj4CZGpm5E-Er4O86iRZQjKBlq_ez_YYpV4_Udw/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-24+11.58.12.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-8773892009099216229</id><published>2013-02-24T11:45:00.001+09:00</published><updated>2013-02-24T11:45:31.701+09:00</updated><title type='text'>jqmobiのサイト、なんかかわっちゃいましたね。</title><content type='html'>&lt;a href=&quot;http://jqmobi.com/&quot;&gt;jqmobi.com&lt;/a&gt;のサイト、いってみたらなんか大きくかわっていました。&lt;br /&gt;
&lt;br /&gt;
Intel App Frameworkねぇ・・・たしかにappMobiから紹介のメールきていましたが・・・&lt;br /&gt;
とりあえず、前回adlantisの広告をjqmobi 1.1で動作させるとバグるという問題がありました。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/CsQNbNZnfNI?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
こういうポップアップが大量にでるやつ。&lt;br /&gt;
&lt;br /&gt;
で、治そうとおもったんですが、appFrameworkのCDNにアクセスしてみたところ。&lt;br /&gt;
文字コードがバグってて、そもそもjqmobiがきちんと動作しませんでした。&lt;br /&gt;
文字コードをUTF shift-JISとかいろいろ変えてみたんですが、だめ・・・&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKYqbEvYF7lhAZs8My5lcrYXzFMkJq-BCPRb0cDalXGxSsCCmXu99XJ94bQ6HhbR2e81OMts87jNhMSU1RR23pC63BhlRZbHbEb8KrI52vZj2Jhf6BYVitmHf4zqeDI94Bv75BvyQWJBc/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-24+11.43.50.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKYqbEvYF7lhAZs8My5lcrYXzFMkJq-BCPRb0cDalXGxSsCCmXu99XJ94bQ6HhbR2e81OMts87jNhMSU1RR23pC63BhlRZbHbEb8KrI52vZj2Jhf6BYVitmHf4zqeDI94Bv75BvyQWJBc/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-24+11.43.50.png&quot; width=&quot;356&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
このままだと、&lt;a href=&quot;http://taktodtools.appspot.com/musicTube/index.html&quot;&gt;musicTube&lt;/a&gt;でつかっているjqmobiのCDNも撤去されかねない気がするので、この前やっていたsencha化をさらにすすめてどっちでも動作するようにしておこうかな・・・と思います。&lt;br /&gt;
うーん。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/8773892009099216229/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2013/02/jqmobi.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8773892009099216229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8773892009099216229'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2013/02/jqmobi.html' title='jqmobiのサイト、なんかかわっちゃいましたね。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKYqbEvYF7lhAZs8My5lcrYXzFMkJq-BCPRb0cDalXGxSsCCmXu99XJ94bQ6HhbR2e81OMts87jNhMSU1RR23pC63BhlRZbHbEb8KrI52vZj2Jhf6BYVitmHf4zqeDI94Bv75BvyQWJBc/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-24+11.43.50.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-7040261620939042386</id><published>2013-02-10T09:11:00.001+09:00</published><updated>2013-02-10T09:11:17.140+09:00</updated><title type='text'>jqmobiのnav上にあるアイテムが拾えない</title><content type='html'>こちらの記事は久しぶりですw。&lt;br /&gt;
&lt;br /&gt;
最近jqMobiを再度やるようになりました。&lt;br /&gt;
navの中にform要素をいれると、そのform要素が取得できない！？ということがありました。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6CzrU2XnX0lI-NrxrOyKtLq3EXYn6nNPgDu7TpuXXwp0npLKHNTp_9dFbCNemY8nxZPBE8mGEyvqa2D3tFDchoGZR8lz2RhjQZzyFF-bUPgHBvq3vDbfLNeMjuKyIL52JfXWgCKVoJrg/s1600/IMG_0236.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6CzrU2XnX0lI-NrxrOyKtLq3EXYn6nNPgDu7TpuXXwp0npLKHNTp_9dFbCNemY8nxZPBE8mGEyvqa2D3tFDchoGZR8lz2RhjQZzyFF-bUPgHBvq3vDbfLNeMjuKyIL52JfXWgCKVoJrg/s400/IMG_0236.PNG&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
この左のテキストボックスやskinの部分です。&lt;br /&gt;
ソースはこんな感じ。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJOPAwGLeCGV46TjuVTBtpc7BbCnGwrEDf1pwD185r9PzmIJDPSkmb-HQQXQowGTY5kW3sth4fLvhnaLIJJdbebxsWCEUB5o5dSbkbJzOSPYVUsVOrRcTNww0QK2vgpNWbz22Oht6XJ48/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-10+8.59.11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJOPAwGLeCGV46TjuVTBtpc7BbCnGwrEDf1pwD185r9PzmIJDPSkmb-HQQXQowGTY5kW3sth4fLvhnaLIJJdbebxsWCEUB5o5dSbkbJzOSPYVUsVOrRcTNww0QK2vgpNWbz22Oht6XJ48/s320/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88+2013-02-10+8.59.11.png&quot; width=&quot;235&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp;この状態で$(&quot;#hogehogetest&quot;).get().valueで左側にはいっているtextボックスの要素の入力値が取得できませんでした。&lt;br /&gt;
あれ？っていう。&lt;br /&gt;
&lt;br /&gt;
リモートでバッグで調べてみたところ、jqMobiが勝手に別の要素をつくって、そこが動作の主体になっているみたいです。&lt;br /&gt;
id付きの要素も再生成されていて２つできるので、ただしい要素がみれていないのが問題だったみたいです。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHiVddCQRxIOagtrIwucKoDdxJlohEt4GK6EM6A6iOlElBardhMYoDfpIqUKVd8y7pmjERGRgxYiDM0iUa72EeeZ9a7ShxkB9R_JQAQagkhX-DQMDCLaTLFqrTqODYmNEYP4x_u-bH2VM/s1600/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2013-02-10+8.56.34.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHiVddCQRxIOagtrIwucKoDdxJlohEt4GK6EM6A6iOlElBardhMYoDfpIqUKVd8y7pmjERGRgxYiDM0iUa72EeeZ9a7ShxkB9R_JQAQagkhX-DQMDCLaTLFqrTqODYmNEYP4x_u-bH2VM/s320/%25E3%2582%25B9%25E3%2582%25AF%25E3%2583%25AA%25E3%2583%25BC%25E3%2583%25B3%25E3%2582%25B7%25E3%2583%25A7%25E3%2583%2583%25E3%2583%2588+2013-02-10+8.56.34.png&quot; width=&quot;231&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
navにくくられているのとのぼ同じのが、div(id=menu)以下にも配置されています。&lt;br /&gt;
input要素のhogehogetestもコピーされていますね。&lt;br /&gt;
&lt;br /&gt;
$(&quot;#hogehogetest&quot;).get().value;&lt;br /&gt;
では上側が選択されるみたいです。&lt;br /&gt;
$(&quot;#menu &amp;gt; div &amp;gt; ul &amp;gt; li&quot;).get(0).childNodes[1].childNodes[1].value&lt;br /&gt;
をつかえばきちんとデータが取得できました。&lt;br /&gt;
結構ひっかかったので、jqMobiやっている方はご注意ください。&lt;br /&gt;
&lt;br /&gt;
ではでは&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/7040261620939042386/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2013/02/jqmobinav.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7040261620939042386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7040261620939042386'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2013/02/jqmobinav.html' title='jqmobiのnav上にあるアイテムが拾えない'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6CzrU2XnX0lI-NrxrOyKtLq3EXYn6nNPgDu7TpuXXwp0npLKHNTp_9dFbCNemY8nxZPBE8mGEyvqa2D3tFDchoGZR8lz2RhjQZzyFF-bUPgHBvq3vDbfLNeMjuKyIL52JfXWgCKVoJrg/s72-c/IMG_0236.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-8665625511186324950</id><published>2012-04-24T20:09:00.000+09:00</published><updated>2012-04-24T20:09:53.336+09:00</updated><title type='text'>javascriptのクラス継承の話</title><content type='html'>javascriptにもオブジェクトやクラスという概念があります。&lt;br /&gt;
&lt;br /&gt;
書き方がいっぱいあって、なんともしっくりこない最近ぼんやりとわかるようになってきました。&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;http://jsdo.it/blogparts/pFUe/js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;div class=&quot;ttlBpJsdoit&quot; style=&quot;font-size: 11px; margin: 0; text-align: right; width: 465px;&quot;&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/pFUe&quot; title=&quot;クラス継承のテスト&quot;&gt;クラス継承のテスト - jsdo.it - share JavaScript, HTML5 and CSS&lt;/a&gt;&lt;/div&gt;
実行すると、cのクラスで定義されているalertボックスが表示されます。&lt;br /&gt;
&lt;br /&gt;
とりあえず紆余曲折あったもののこの形が僕としては一番気に入った感じ。&lt;br /&gt;
&lt;br /&gt;
会社でのプログラムにもいれてみた。&lt;br /&gt;
&lt;br /&gt;
ただし、eclipseやAptanaStudioの入力支援では、継承元のメンバ関数がよばれてくれない等、やりにくい部分が若干あるみたい。&lt;br /&gt;
&lt;br /&gt;
うーん。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/8665625511186324950/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/javascript_24.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8665625511186324950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8665625511186324950'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/javascript_24.html' title='javascriptのクラス継承の話'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-3739781101748830215</id><published>2012-04-24T00:15:00.000+09:00</published><updated>2012-04-24T00:15:08.235+09:00</updated><title type='text'>jqmobiに対応したcolorPicker作りかけ。その２</title><content type='html'>jqmobiの関数をつかいまくってつくったバージョンのcolorpickerをつくってみました。&lt;br /&gt;
&lt;br /&gt;
まだ、パネルの内容がおおきくなってスクロールしてしまうときの処置(スクロール停止)がはいっていませんが、それ以外はおおむねできたとおもってる。&lt;br /&gt;
&lt;br /&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;http://jsdo.it/blogparts/erO9/js&quot;&gt;&lt;/script&gt;&lt;p class=&quot;ttlBpJsdoit&quot; style=&quot;width: 465px; margin: 0; text-align: right; font-size: 11px;&quot;&gt;&lt;a href=&quot;http://jsdo.it/poepoemix/erO9&quot; title=&quot;Color Picker for jqmobi&quot;&gt;Color Picker for jqmobi - jsdo.it - share JavaScript, HTML5 and CSS&lt;/a&gt;&lt;/p&gt;

どうでっしゃろ？</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/3739781101748830215/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobicolorpicker.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/3739781101748830215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/3739781101748830215'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobicolorpicker.html' title='jqmobiに対応したcolorPicker作りかけ。その２'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-5394485620858368391</id><published>2012-04-23T21:18:00.000+09:00</published><updated>2012-04-23T21:18:10.260+09:00</updated><title type='text'>jqmobi scrollerスクロールを一時的にできなくする。</title><content type='html'>jqmobi用のcolor pickerをつくっているときにでてきた問題。&lt;br /&gt;
colorを選択するときに、スライドさせると、scrollがきいているパネルだと、スクロールしてしまう・・・&lt;br /&gt;
&lt;br /&gt;
こんなときの対処法がboolScrollLockです。&lt;br /&gt;
&lt;br /&gt;
やり方。&lt;br /&gt;
自分でscrollerをつけた場合。&lt;br /&gt;
$(&quot;#(対象ID)&quot;).scroller();で再度scrollerオブジェクトが取得できるので&lt;br /&gt;
$(&quot;#(対象ID)&quot;).scroller().boolScrollLock = true;で抑制できます。&lt;br /&gt;
再度スクロールさせたい場合は&lt;br /&gt;
$(&quot;#(対象ID)&quot;).scroller().boolScrollLock = false;で解除できます。&lt;br /&gt;
&lt;br /&gt;
jq.uiで自動的に追加されたパネルの場合&lt;br /&gt;
$.ui.scrollingDiv[&quot;パネルのID&quot;].boolScrollLock = true / false;で制御できます。&lt;br /&gt;
ポイントはパネルIDの前に#をいれないこと。&lt;br /&gt;
&lt;br /&gt;
あと、自分でscrollerをつけた場合、初期化時の応答でscrollerオブジェクトが返されるのでそれを保持しておくのもありです。&lt;br /&gt;
&lt;br /&gt;
なお、$(&quot;#a &amp;gt; div&quot;)みたいな感じで子要素にscrollerをつけてしまい、かつ子要素がid未指定の場合は、取得できなくなってしまうので、初期化時の応答scrollerを保持しておかないと動作がおかしくなりますので、ご注意を・・・</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/5394485620858368391/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobi-scroller.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/5394485620858368391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/5394485620858368391'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobi-scroller.html' title='jqmobi scrollerスクロールを一時的にできなくする。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-7207638870190182373</id><published>2012-04-22T23:05:00.001+09:00</published><updated>2012-04-22T23:07:00.448+09:00</updated><title type='text'>jqmobiに対応したcolorPicker作りかけ。</title><content type='html'>ColorPickerをつくったので、せっかくなのでwebアプリに対応してみたい。&lt;br /&gt;
&lt;br /&gt;
というわけで、iphone上でも、スクロールせずに動作するように調整してみました。&lt;br /&gt;
&lt;br /&gt;
とりあえず動作はできましたが、jqmobi用で使うには、jqmobi用にカスタマイズしないとだめっぽい。&lt;br /&gt;
スクロール動作がうまく禁止にできんわ。これ。&lt;br /&gt;
&lt;br /&gt;
現状では、jqmobiを使わないサイトでは、普通に動作。jqmobiをつかった場合はスクロールがあると動作がおかしくなる。という感じになりました。&lt;br /&gt;
&lt;br /&gt;
ほぼ１日これにかかりっきりだったのにできなかったのが非常に残念。
&lt;br /&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;http://jsdo.it/blogparts/Yvvr/js&quot;&gt;&lt;/script&gt;&lt;p class=&quot;ttlBpJsdoit&quot; style=&quot;width: 465px; margin: 0; text-align: right; font-size: 11px;&quot;&gt;&lt;a href=&quot;http://jsdo.it/poepoemix/Yvvr&quot; title=&quot;colorPickerを置いたjqmobiの動作テスト&quot;&gt;colorPickerを置いたjqmobiの動作テスト - jsdo.it - share JavaScript, HTML5 and CSS&lt;/a&gt;&lt;/p&gt;

調整は明日以降にもちこしだな。
&lt;br /&gt;
このColorPickerを利用して、お絵描きするwebアプリや、待ち合わせ支援のwebアプリを作る予定です。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/7207638870190182373/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/colorpickerweb-iphone-jqmobijqmobi.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7207638870190182373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7207638870190182373'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/colorpickerweb-iphone-jqmobijqmobi.html' title='jqmobiに対応したcolorPicker作りかけ。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-434467484883882582</id><published>2012-04-22T13:42:00.001+09:00</published><updated>2012-04-22T13:42:40.364+09:00</updated><title type='text'>html5の色選択動作つくってみました。</title><content type='html'>html5で動作するcolorPickerをつくってみました。&lt;br /&gt;
このライブラリだけ読み込めば動作し、好きな要素にくっつけることができます。&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://jsdo.it/blogparts/5BK4/js&quot;&gt;&lt;/script&gt;&lt;p class=&quot;ttlBpJsdoit&quot; style=&quot;width: 465px; margin: 0; text-align: right; font-size: 11px;&quot;&gt;&lt;a href=&quot;http://jsdo.it/poepoemix/5BK4&quot; title=&quot;Color Pickerサンプル&quot;&gt;Color Pickerサンプル - jsdo.it - share JavaScript, HTML5 and CSS&lt;/a&gt;&lt;/p&gt;
&lt;br /&gt;
よかったらつかってみてください。&lt;br /&gt;
自分としては、jqmobiで利用できるように調整していきたいですね。&lt;br /&gt;
いまのところtouch系のイベントのbindを実行していないので、iphoneでは利用できないし・・・&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/434467484883882582/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/html5colorpicker-color-picker-jsdo.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/434467484883882582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/434467484883882582'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/html5colorpicker-color-picker-jsdo.html' title='html5の色選択動作つくってみました。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-3873246431218569461</id><published>2012-04-16T23:28:00.000+09:00</published><updated>2012-04-16T23:28:21.069+09:00</updated><title type='text'>jqmobiについていろいろやってみた。jsdo.it編</title><content type='html'>jsdo.itが便利なので、ここにjqmobiのプログラムをいっぱいのせておきました。&lt;br /&gt;
&lt;br /&gt;
・大本のベース動作&lt;br /&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/jqmobi&quot;&gt;http://jsdo.it/poepoemix/jqmobi&lt;/a&gt;&lt;br /&gt;
・プラグインのベース動作&lt;br /&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/nRfi&quot;&gt;http://jsdo.it/poepoemix/nRfi&lt;/a&gt;&lt;br /&gt;
・時計&lt;br /&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/2qHJ&quot;&gt;http://jsdo.it/poepoemix/2qHJ&lt;/a&gt;&lt;br /&gt;
・スキンセレクタ(ただしsafari(iMac)でうまく動作せず。)&lt;br /&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/s0dZ&quot;&gt;http://jsdo.it/poepoemix/s0dZ&lt;/a&gt;&lt;br /&gt;
・動画再生&lt;br /&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/3LZm&quot;&gt;http://jsdo.it/poepoemix/3LZm&lt;/a&gt;&lt;br /&gt;
・縦スクロール、横スクロール&lt;br /&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/yzFG&quot;&gt;http://jsdo.it/poepoemix/yzFG&lt;/a&gt;&lt;br /&gt;
・縦カルーセル、横カルーセル&lt;br /&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/t0Mr&quot;&gt;http://jsdo.it/poepoemix/t0Mr&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://jsdo.it/blogparts/rxtX/js&quot;&gt;&lt;/script&gt;&lt;p class=&quot;ttlBpJsdoit&quot; style=&quot;width: 465px; margin: 0; text-align: right; font-size: 11px;&quot;&gt;&lt;a href=&quot;http://jsdo.it/poepoemix/jqmobi&quot; title=&quot;jqmobiのベースとなる動作&quot;&gt;jqmobiのベースとなる動作 - jsdo.it - share JavaScript, HTML5 and CSS&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
適当にjsdo.itにあるいい感じのサンプルを、jqmobi化でもしてようかな・・・</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/3873246431218569461/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobijsdoit.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/3873246431218569461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/3873246431218569461'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobijsdoit.html' title='jqmobiについていろいろやってみた。jsdo.it編'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-6857371271746160122</id><published>2012-04-14T21:11:00.000+09:00</published><updated>2012-04-14T21:11:41.301+09:00</updated><title type='text'>リモートデバッグの方法をつくってみました。</title><content type='html'>webSocket経由で、端末上でつかったデータをブラウザに送信して、そちらで参照する。&lt;br /&gt;
そんな動作をするプログラムをかいてみました。&lt;br /&gt;
&lt;br /&gt;
ログとして見る側&lt;br /&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/2kKa&quot;&gt;http://jsdo.it/poepoemix/2kKa&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
送信するconsole.log動作の上書き&lt;br /&gt;
&lt;a href=&quot;http://jsdo.it/poepoemix/64Vj&quot;&gt;http://jsdo.it/poepoemix/64Vj&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
間に挟んでいるwebSocketサーバーはred5 + 自作のプラグインにしてます。&lt;br /&gt;
webSocketサーバーの動作は送られた文字列データを同じパスにアクセスしている全員にエコーするだけというもの。&lt;br /&gt;
&lt;br /&gt;
もし、不都合がでてきたら、サーバーひっこめますが、とりいそぎいまのところはとめるつもりはないです。&lt;br /&gt;
&lt;br /&gt;
個人的にデバッグ用とに利用したいという方がおりましたら、ws://49.212.39.17:8080/test/devkeyのdevkeyのところを適当な文字列に変えてご利用くださいな。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/6857371271746160122/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/6857371271746160122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/6857371271746160122'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/blog-post.html' title='リモートデバッグの方法をつくってみました。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-6435465116676608674</id><published>2012-04-10T21:12:00.000+09:00</published><updated>2012-04-10T21:12:46.398+09:00</updated><title type='text'>jsdo.itをつかってみました。</title><content type='html'>jqmobiのデモをブログに貼付けたくてjspファイルまでつくってしまったわけですが、こんな面倒なことしなくてもjsdo.itなりを使えば、コードごと貼付けることができるみたいですね。&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;というわけでつかってみた。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;jqmobiの動作デモ&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://jsdo.it/blogparts/vgK3/js&quot;&gt;&lt;/script&gt;&lt;p class=&quot;ttlBpJsdoit&quot; style=&quot;width: 465px; margin: 0; text-align: right; font-size: 11px;&quot;&gt;&lt;a href=&quot;http://jsdo.it/poepoemix/vgK3&quot; title=&quot;jqmobi基本動作&quot;&gt;jqmobi基本動作 - jsdo.it - share JavaScript, HTML5 and CSS&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
websocketによるテキストチャットデモ&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://jsdo.it/blogparts/rVsV/js&quot;&gt;&lt;/script&gt;&lt;p class=&quot;ttlBpJsdoit&quot; style=&quot;width: 465px; margin: 0; text-align: right; font-size: 11px;&quot;&gt;&lt;a href=&quot;http://jsdo.it/poepoemix/rVsV&quot; title=&quot;websocketチャットテスト&quot;&gt;websocketチャットテスト - jsdo.it - share JavaScript, HTML5 and CSS&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/6435465116676608674/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jsdoit.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/6435465116676608674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/6435465116676608674'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jsdoit.html' title='jsdo.itをつかってみました。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-3037330285553076099</id><published>2012-04-09T20:34:00.000+09:00</published><updated>2012-04-09T20:34:15.195+09:00</updated><title type='text'>jqmobiについてやってみる、その４ スクロール編</title><content type='html'>プログラムはいつものとおり、&lt;a href=&quot;https://github.com/taktod/jqmobitest/commits/master&quot;&gt;github&lt;/a&gt;にあげてあります。&lt;br /&gt;
&lt;br /&gt;
さて、今回はスクロール・・・&lt;br /&gt;
左右、上下にスクロールできるようにするものです。&lt;br /&gt;
このスクロールですが、いれようと思えばheaderとかにもいれれるので、スクロール可能なタイトルなんてものもつくれます。&lt;br /&gt;
&lt;br /&gt;
content/scroll.htmlをみていただければわかりますが、jqmobiのkitchensinkとは違い、片方の定義しか実行していません。&lt;br /&gt;
横のスクロールの定義の部分で、縦のスクロールの否定をいれてやるとなぜか動作がおかしくなります。&lt;br /&gt;
&lt;br /&gt;
余談ですが、hash付きで情報のロードを実行するとどうやら動作がくずれることがあるみたいですね。&lt;br /&gt;
githubのソースはなるべくそれぞれのパネルのプログラムが別のファイルになるようにしてありますが、できたら、１つのファイルにまとめてしまっておいた方が無難かもしれません。&lt;br /&gt;
バグというより、mobile safariの動作の影響かなとみていますけど。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/3037330285553076099/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobi_09.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/3037330285553076099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/3037330285553076099'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobi_09.html' title='jqmobiについてやってみる、その４ スクロール編'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-8208323325964601886</id><published>2012-04-07T12:49:00.002+09:00</published><updated>2012-04-11T20:42:26.628+09:00</updated><title type='text'>jqmobiについてやってみる、その３ カルーセル編。</title><content type='html'>sencha touchからjqmobiに浮気しています。今回はカルーセルという、指で左右にパネルを動かすと、左右にスライドするやつの話です。&lt;br /&gt;
&lt;br /&gt;
githubにpushしたソースはこちら。(デモもどこかに置いておきたいですね。)&lt;br /&gt;
&lt;a href=&quot;https://github.com/taktod/jqmobitest/commit/b470d3091d24e63eff2adc8fde06853cbaf9b84a&quot;&gt;https://github.com/taktod/jqmobitest/commit/b470d3091d24e63eff2adc8fde06853cbaf9b84a&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
やることは&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;index.htmlにjq.carousel.jsのプラグインを追加。&lt;/li&gt;
&lt;li&gt;index.htmlにcarousel用のdivをcontentのdivに追加&lt;/li&gt;
&lt;li&gt;carousel.htmlをcontentディレクトリに追加&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;でできます。&lt;/div&gt;&lt;div&gt;jqmobiはプラグインという形で必要なライブラリだけ追加していけるので便利ですね。&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;なお、このプラグイン追加すらもcarousel.htmlにいれてみようと思いましたがどうも、javascriptがうまく動作しないので、とりいそぎあきらめました。&lt;/div&gt;&lt;div&gt;では、次は何をやるかな・・・&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/8208323325964601886/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobi_07.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8208323325964601886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8208323325964601886'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobi_07.html' title='jqmobiについてやってみる、その３ カルーセル編。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-7064463070025403421</id><published>2012-04-06T04:45:00.002+09:00</published><updated>2012-04-11T20:41:11.762+09:00</updated><title type='text'>jqmobiについてやってみる、その２</title><content type='html'>さて、jqmobiについて第２回、今回からソースを書くのが面倒なので、githubにデータとしてあげていきたいとおもいます。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/taktod/jqmobitest/commits/master&quot;&gt;https://github.com/taktod/jqmobitest/commits/master&lt;/a&gt;&lt;br /&gt;
ここを参照するのが、一番わかりやすいとおもいます。&lt;br /&gt;
&lt;br /&gt;
とりあえず、前回は大枠の側だけつくったので、今回はパネルを配置してみました。&lt;br /&gt;
パネルを配置するには、jQUi -&amp;gt; contentの配下にpanelというclass指定のdivタグを追加すればOKです。&lt;br /&gt;
この中にul -&amp;gt; liによるリストをいれたり、普通にhtmlでデータを書き込んだりして、コンテンツをつくっていきます。&lt;br /&gt;
selectedがついているpenelのデータがアクセス時の標準表示となり、アドレスにhashがついている場合は、そのpenelが自動的に表示候補になります。&lt;br /&gt;
&lt;br /&gt;
なお、selectedがついていないパネルにアドレス指定でアクセスすると、右からスライドして表示されるアクセスしてすぐに画面が切り替わったのと同じ結果になります。&lt;br /&gt;
この画面遷移を抑制するには、jquiの初期読み込みが完了した状態で、目的のpanelにselected=&quot;true&quot;を設置してやればよいです。&lt;br /&gt;
&lt;br /&gt;
また、個人的に、普通にindex.htmlにデータを書き続けていき、このファイルが肥大化するとロードに時間がかかったりして、あまりよろしくないと思うので、ajaxを利用して別ページの内容として読み込むのも組み立ててみました。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/7064463070025403421/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobi.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7064463070025403421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7064463070025403421'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/jqmobi.html' title='jqmobiについてやってみる、その２'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-4290709329181359485</id><published>2012-04-05T23:00:00.000+09:00</published><updated>2012-04-05T23:00:58.714+09:00</updated><title type='text'>javascriptで動的にタグを追加するときの話</title><content type='html'>javascriptでdivタグの中身等を書き換えるときに、DOMを自分でがんばって書き込んでもいいのですが、使うと便利なものがいくつかあります。&lt;br /&gt;
&lt;br /&gt;
１つめ innerHTMLで追加する方法&lt;br /&gt;
document.getElementById(&quot;#divID&quot;).innerHTML = &quot;適当な内容&quot;;&lt;br /&gt;
２つめjqmobiのhtml関数を利用する方法&lt;br /&gt;
$(&quot;#divID&quot;).html(&quot;適当な内容&quot;);&lt;br /&gt;
３つめjQueryのhtml関数を利用する方法&lt;br /&gt;
$(&quot;#divID&quot;).html(&quot;適当な内容&quot;);&lt;br /&gt;
&lt;br /&gt;
さて、この中で１つだけ、scriptタグ(javascript)を含むデータをいれたときにその関数が実行されるものがあります。&lt;br /&gt;
それは２つ目のjQueryのやつです。&lt;br /&gt;
&lt;br /&gt;
すくなくとも、僕の手元にあるChromeとSafariではscriptタグの内容がjavascriptとして認識されるようです。&lt;br /&gt;
&lt;br /&gt;
１つめのやり方&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2B0TwvYSFfHdGUOZKJ1SB2k7liuGY17wEdHdfCS49ilOjMBW3i_WClLlaQ2-EFf3ImcVL9CtR7LNLWm20Enwl87VT7HFJ3pu_OErHGz_fqLzFR3WsTpPGlDtBRtZ3c233F4BUFE3BZ9M/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882012-04-05+22.55.59%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;38&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2B0TwvYSFfHdGUOZKJ1SB2k7liuGY17wEdHdfCS49ilOjMBW3i_WClLlaQ2-EFf3ImcVL9CtR7LNLWm20Enwl87VT7HFJ3pu_OErHGz_fqLzFR3WsTpPGlDtBRtZ3c233F4BUFE3BZ9M/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882012-04-05+22.55.59%EF%BC%89.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;２つめのやり方&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6xewVx2DsGkdWGDOEVPzKUCHs-wSysKj7-mIa17QiX97HY5itDPH01VlO5G9IpNgHXwOyT_qqGa3rzgdCyVbKQ7Ex_pXSXPuo-iybl7RTqJftp0LMQxFjw4piTsO2ngb_9Rp6_odj2AM/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882012-04-05+22.56.41%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;58&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6xewVx2DsGkdWGDOEVPzKUCHs-wSysKj7-mIa17QiX97HY5itDPH01VlO5G9IpNgHXwOyT_qqGa3rzgdCyVbKQ7Ex_pXSXPuo-iybl7RTqJftp0LMQxFjw4piTsO2ngb_9Rp6_odj2AM/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882012-04-05+22.56.41%EF%BC%89.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;３つめのやり方&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKs2JiEIDrv00eAQGEysYJQiHAG0MX4_Z12v0sIV-rXqrR-j6DDw37CxO8VSFSeGZOW5FxLEHLpIwxmIrDiKWZq2oEa_1OTzYz2rQoR_B5WiJej9lMXRLp1LKQmvGwMO2sV-IgXV0oqXo/s1600/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882012-04-05+22.57.54%EF%BC%89.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;60&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKs2JiEIDrv00eAQGEysYJQiHAG0MX4_Z12v0sIV-rXqrR-j6DDw37CxO8VSFSeGZOW5FxLEHLpIwxmIrDiKWZq2oEa_1OTzYz2rQoR_B5WiJej9lMXRLp1LKQmvGwMO2sV-IgXV0oqXo/s400/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882012-04-05+22.57.54%EF%BC%89.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
iMacのgoogle chrome18.0.1025.142での動作です。&lt;br /&gt;
&lt;br /&gt;
不思議ですね。&lt;br /&gt;
jQuery・・・</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/4290709329181359485/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/04/javascript.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/4290709329181359485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/4290709329181359485'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/04/javascript.html' title='javascriptで動的にタグを追加するときの話'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2B0TwvYSFfHdGUOZKJ1SB2k7liuGY17wEdHdfCS49ilOjMBW3i_WClLlaQ2-EFf3ImcVL9CtR7LNLWm20Enwl87VT7HFJ3pu_OErHGz_fqLzFR3WsTpPGlDtBRtZ3c233F4BUFE3BZ9M/s72-c/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%EF%BC%882012-04-05+22.55.59%EF%BC%89.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-7889256534895956473</id><published>2012-03-27T21:15:00.000+09:00</published><updated>2012-03-27T21:15:57.506+09:00</updated><title type='text'>jqmobiについてやってみる、その１</title><content type='html'>jqmobiはjqueryMobileより軽量に動作するjavascriptのフレームワークです。&lt;br /&gt;
sencha touchみたいなsmart phoneに特化したUIを構築できるのが魅力です。&lt;br /&gt;
&lt;br /&gt;
このjqmobi特徴があります。&lt;br /&gt;
いいところ&lt;br /&gt;
・１つ目、jqmobiのライブラリがそもそもjqueryみたいなことをしてくれるので、ほかのライブラリとは違いjqueryへのリンクをいれる必要はないです。&lt;br /&gt;
・２つ目、sencha touchとは違い、ハッシュへのリンクみたいな感じで表示するパネルを選択することができます。&lt;br /&gt;
・３つ目、非常に軽い&lt;br /&gt;
&lt;br /&gt;
わるいところ&lt;br /&gt;
・１つ目、動作に癖がある。&lt;br /&gt;
・２つ目、jqueryとは違いwebkit系のブラウザでしか動作しないっぽい。&lt;br /&gt;
&lt;br /&gt;
・３つ目、コンテンツの表示はその他の表示されてからなので、bootstrap for twitterみたいに先に表示を書き込んで・・・という手は使えないっぽい。&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
こんなところです。&lt;br /&gt;
&lt;br /&gt;
とりあえず始めるにあたって知っておかないといけないページはこちら。&lt;br /&gt;
本家 &lt;a href=&quot;http://www.jqmobi.com/&quot;&gt;http://www.jqmobi.com/&lt;/a&gt;&lt;br /&gt;
APIドキュメント&amp;nbsp;&lt;a href=&quot;http://api.jqmobi.com/&quot;&gt;http://api.jqmobi.com/&lt;/a&gt;&lt;br /&gt;
Kitchen sink&amp;nbsp;&lt;a href=&quot;http://jqmobi.com/testdrive/&quot;&gt;http://jqmobi.com/testdrive/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
とりあえず導入しましょう。&lt;br /&gt;
まずgithubのjqMobiのページにいきます。&lt;br /&gt;
&lt;a href=&quot;https://github.com/appmobi/jq.mobi&quot;&gt;https://github.com/appmobi/jq.mobi&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
git cloneするかzipをダウンロードします。&lt;br /&gt;
今回はzipのダウンロードでいってみました。&lt;br /&gt;
解凍してできたデータを適当なところに設置&lt;br /&gt;
&lt;br /&gt;
あとはhtmlを書きます。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&amp;lt;!&lt;/span&gt;DOCTYPE &lt;span class=&quot;s1&quot;&gt;html&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p2&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;!--HTML5 doctype--&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;lt;&lt;/span&gt;head&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;jqMobiテスト&lt;span class=&quot;s1&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;lt;&lt;span class=&quot;s3&quot;&gt;meta &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;http-equiv&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;Content-type&quot; &lt;span class=&quot;s4&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=UTF-8&quot; /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;lt;&lt;span class=&quot;s3&quot;&gt;meta &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;viewport&quot; &lt;span class=&quot;s4&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;width=device-width, initial-scale=1, maximum-scale=1&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;lt;&lt;span class=&quot;s3&quot;&gt;meta &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;apple-mobile-web-app-capable&quot; &lt;span class=&quot;s4&quot;&gt;content&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;yes&quot; /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;lt;&lt;span class=&quot;s3&quot;&gt;link &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;rel&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;apple-touch-icon&quot; &lt;span class=&quot;s4&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;http://taktodtools.appspot.com/icons/tora.png&quot; /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span class=&quot;s3&quot; style=&quot;font-size: x-small;&quot;&gt;link &lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;font-size: x-small;&quot;&gt;rel&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot;stylesheet&quot; &lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;font-size: x-small;&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot;text/css&quot; &lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;font-size: x-small;&quot;&gt;href&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot;../jqmobi/kitchensink/jq.ui.carbon.css&quot; &lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;font-size: x-small;&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;font-size: x-small;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot;volcano&quot; /&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;lt;&lt;span class=&quot;s3&quot;&gt;script &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;text/javascript&quot; &lt;span class=&quot;s4&quot;&gt;charset&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;UTF-8&quot; &lt;span class=&quot;s4&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;../jqmobi/ui/jq.ui.min.js&quot;&amp;gt;&amp;lt;/&lt;span class=&quot;s3&quot;&gt;script&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p5&quot;&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;head&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;font-size: x-small;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;lt;&lt;/span&gt;body&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;lt;&lt;span class=&quot;s3&quot;&gt;div &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;jQUi&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;span class=&quot;s3&quot;&gt;div &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;header&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;span class=&quot;s3&quot;&gt;div &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;content&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p4&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;span class=&quot;s3&quot;&gt;div &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;=&lt;/span&gt;&quot;navbar&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p3&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;div&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;&lt;/span&gt;nav&lt;span class=&quot;s1&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;nav&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/&lt;/span&gt;div&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;lt;/&lt;/span&gt;body&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span class=&quot;s1&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;極限までけずったらこんな感じでしょうか。&lt;/div&gt;&lt;div class=&quot;p1&quot;&gt;これをベースに今後は動作用のjavascriptを追加し、header、content、navbar、navの部分にそれぞれの情報を書き込んでいけば、できあがりとなります。&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/7889256534895956473/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/03/jqmobi.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7889256534895956473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7889256534895956473'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/03/jqmobi.html' title='jqmobiについてやってみる、その１'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-8892136384947602607</id><published>2012-02-02T23:10:00.000+09:00</published><updated>2012-02-02T23:10:47.884+09:00</updated><title type='text'>sencha touch以外のライブラリについて、ちょっと確認した。</title><content type='html'>今朝携帯をいじってちょっとだけほかのJavascriptフレームワークについて調査してみたのでメモ。&lt;br /&gt;
&lt;br /&gt;
jq mobi&lt;br /&gt;
bootstrap from twitter&lt;br /&gt;
sencha touch&lt;br /&gt;
jquery mobile&lt;br /&gt;
この４つ。&lt;br /&gt;
&lt;br /&gt;
sencha touchとjqmobiはwebアプリを単独アプリとして動作させるのにちょうどいい感じ。&lt;br /&gt;
jquery mobileとbootstrap from twitterは、既存のwebページの拡張的な感じ。&lt;br /&gt;
&lt;br /&gt;
以前のエントリーで書きましたが、iphone4sでは次のような特性がある。&lt;br /&gt;
・メモリーは500MB(うちアプリがつかえるのが、だいたい250MB)&lt;br /&gt;
・メモリーを使い切ると最悪落ちる。webページの場合は再読み込みが走る。&lt;br /&gt;
・メディアデータはメモリー。javascriptの変数もメモリー&lt;br /&gt;
・読み込みページデータ、localStorage等はディスクにはいる。&lt;br /&gt;
アプリの切り替えを頻繁にする場合は、ホーム画面から起動をしても再読み込みが走ってしまい。最悪の場合、編集中データがふっとぶということもあるので、僕としてはあまりメモリーをつかいたくない。あと表示まで早いと別ページあつかいでごまかせるからいいなぁとおもっているところです。&lt;br /&gt;
&lt;br /&gt;
で、調べてみた。&lt;br /&gt;
メモリーの使用量はだいたいどのフレームワークでも似た感じ。&lt;br /&gt;
読み込みの早さはbootstrap from twitterがいい感じといったところ。&lt;br /&gt;
動作の滑らかさは個人的にはsenchaが一番な気がします。&lt;br /&gt;
senchaはちょっと組み方が特殊なので、jqueryがいいという人はjqmobiですかね。&lt;br /&gt;
&lt;br /&gt;
まぁ、個人的な意見100%ですが、現時点ではbootstrap from twitterに手をだしてみようかなといったところです。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://poepoemix.blogspot.com/&quot;&gt;プログラムしてみようか&lt;/a&gt;&amp;nbsp;側でsqliteについてはまっているので、そちらにも手をだしたい。&lt;br /&gt;
&lt;br /&gt;
youtubeのブックマークレットのスキン機能もつけたい等、いろいろやりたいことがあって困る。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/8892136384947602607/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/02/sencha-touch.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8892136384947602607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8892136384947602607'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/02/sencha-touch.html' title='sencha touch以外のライブラリについて、ちょっと確認した。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-4196651208560430845</id><published>2012-01-29T11:47:00.000+09:00</published><updated>2012-01-29T11:47:40.802+09:00</updated><title type='text'>iPhoneのメモリーや、ディスクについて</title><content type='html'>&amp;nbsp;先日iMemoryGraphというメモリーの使用状況を測定するアプリを導入してみました。&lt;br /&gt;
&lt;br /&gt;
iPhoneのwebアプリをつくっていると、たまに画面が白くなって、再読み込みが走ることがありますが、この原因が知りたかった。&lt;br /&gt;
以下の記事は4S(AU)での動作です。キャリアはあまり関係ないと思うけど。&lt;br /&gt;
iPhoneのスペックでは&lt;br /&gt;
メモリー505MB(うち、自由につかえるのは大地あ250MBくらい)&lt;br /&gt;
ディスク28.2GB&lt;br /&gt;
といったところみたいです。&lt;br /&gt;
&lt;br /&gt;
その１：個人的な調査によると、メモリーがFreeメモリーが10MB程度まで落ちてしまってからページにアクセスすると、最終にアクセスしたページから順に再読み込みがかかるらしい。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP72B49tBmUwB7HVTLngaQRJpYaR3Z4p-LNeUAVHP9w1d20RgC3_8gbdletsOBzLVPWKTwISS9AS5SK-Lq-V89Qk8d9P91OlARRq5wUTKcyAnUWnYnlPMSjp5hQfKqNxBhkzNT9iArT88/s1600/photo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP72B49tBmUwB7HVTLngaQRJpYaR3Z4p-LNeUAVHP9w1d20RgC3_8gbdletsOBzLVPWKTwISS9AS5SK-Lq-V89Qk8d9P91OlARRq5wUTKcyAnUWnYnlPMSjp5hQfKqNxBhkzNT9iArT88/s320/photo.png&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;ちょうど発生した時間のグラフはこんな感じ9:50くらいに実験したかな。&lt;br /&gt;
&lt;br /&gt;
その２：僕が大好きなsencha-touchですが、メモリーを馬鹿食いするみたいです。以前つくったノートアプリを開くと50MBくらいくいやがった。こったアプリをつくるとさらにメモリーを食いそう。ちょっときついですね。ずっとsencha-touchでつくったアプリをつかい続けるなら、まぁリロードはそんなに走らないでしょうが、他のアプリと併用させるとたちまちアウトかも。&lt;br /&gt;
&lt;br /&gt;
その３：XMLHttpRequestによるajaxの動作やページの読み込みデータ(画像等)はメモリーではなく、ディスクに書き込まれるっぽい。&lt;br /&gt;
javascriptの変数で保持してしまうとメモリーにきます。&lt;br /&gt;
no-cache等をサーバーで設定しておくようにすれば、次のデータを読み込んだときに過去のデータは削除されますが、設定しないない場合は、iPhoneがディスクにキャッシュする模様。&lt;br /&gt;
&lt;br /&gt;
その４：localStorageでキャッシュした場合もディスクにたまるようですが、ディスクがいくらあろうが、数MBでアウトになるみたいです。&lt;br /&gt;
&lt;br /&gt;
その５：mp3等のメディアデータはメモリー上にのっかって動作するらしい。(ファイルキャッシュしろよ。)&lt;br /&gt;
&lt;br /&gt;
こんなところですね。この辺チューニングをうまくやってあげるとiPhoneの楽しいアプリ作成ライフが送れそうです。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/4196651208560430845/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/01/iphone.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/4196651208560430845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/4196651208560430845'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/01/iphone.html' title='iPhoneのメモリーや、ディスクについて'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP72B49tBmUwB7HVTLngaQRJpYaR3Z4p-LNeUAVHP9w1d20RgC3_8gbdletsOBzLVPWKTwISS9AS5SK-Lq-V89Qk8d9P91OlARRq5wUTKcyAnUWnYnlPMSjp5hQfKqNxBhkzNT9iArT88/s72-c/photo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-7133635910902198946</id><published>2012-01-27T13:21:00.000+09:00</published><updated>2012-01-27T13:21:35.345+09:00</updated><title type='text'>iPhone4Sで3G回線でネットができなくなった。</title><content type='html'>iPhone4Sを利用しているのですが、3G回線を利用したインターネットをつかおうとしたら、使えなくなっていました。ちなみにAUです。&lt;br /&gt;
&lt;br /&gt;
１日前までは、youtubeのブックマークレットでガンガン音楽をききまくっていたので、問題なく動作していたのに・・・&lt;br /&gt;
&lt;br /&gt;
というわけでいろいろな回避策を講じてみました。&lt;br /&gt;
&lt;br /&gt;
その１：電源のon off右上の電源ボタンを少々長押し→スライダーで電源OFFを選択→その後再起動してみる。→結果はなおらず。&lt;br /&gt;
&lt;br /&gt;
その２：仕方ないので購入したお店にいってみる。そこでやってもらったことは、電源の再起動とgoogle検索を何度か、なおらないので、iphone4Sに関する問い合わせ先の載っている冊子をもらってきた。→結果はなおらず。&lt;br /&gt;
itunesの復元を利用すれば、だいたい元に戻るとアドバイスをもらったので、速攻帰宅。&lt;br /&gt;
&lt;br /&gt;
その３：ネットワークの設定のリセットをすれば、なんとかなるかもと思い実行してみる&lt;br /&gt;
→結果はなおらず。&lt;br /&gt;
&lt;br /&gt;
家のiMacにて、itunesと接続し、iPhoneのソフトウェアの復元の実行を試みつつnetを検索してみたところ&lt;br /&gt;
その４：&lt;a href=&quot;http://nekomac.seesaa.net/article/102945905.html&quot;&gt;http://nekomac.seesaa.net/article/102945905.html&lt;/a&gt;&lt;br /&gt;
この記事を発見。電源とホームボタンを長押しすると別の再起動ができるわけですか・・・&lt;br /&gt;
→いったん復元作業(ソフトウェアアップデートのDL中)を停止して、試行してみる。&lt;br /&gt;
→なおらず。&lt;br /&gt;
&lt;br /&gt;
その５：復元作業を再開しているところ。&lt;br /&gt;
→なんと、これでもなおらず。&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1275262042&quot;&gt;http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1275262042&lt;/a&gt;&lt;br /&gt;
こちらの主の回答からするとネットワーク設定ではなく全リセットすればなおるかも・・・&lt;br /&gt;
→この方法でいけた・・・&lt;br /&gt;
&lt;br /&gt;
なおった・・・&lt;br /&gt;
が、データ等すべて飛んだ、わーぃ&lt;br /&gt;
&lt;br /&gt;
さて、再度やり直していくとしますかw</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/7133635910902198946/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/01/iphone4s3g.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7133635910902198946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7133635910902198946'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/01/iphone4s3g.html' title='iPhone4Sで3G回線でネットができなくなった。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-6403855830213439812</id><published>2012-01-25T22:02:00.000+09:00</published><updated>2012-01-25T22:02:49.180+09:00</updated><title type='text'>audioタグにいろんなファイルをつっこんでみた。</title><content type='html'>audioタグにmp4 m4a 3gp mp3 wavをいれてiphoneで再生してみたところ・・・&lt;br /&gt;
どうやらmp4系とmp3系にわかれるらしい。&lt;br /&gt;
&lt;br /&gt;
mp4系の動作(mp4 m4a 3gp)について、再生中に別のウィンドウをひらいたりすると、再生がとまります。&lt;br /&gt;
再度再生を実行しないととまったままになる・・・&lt;br /&gt;
&lt;br /&gt;
mp3の動作は別物で、再生中に別のアプリにうつったりしてもとまりません。&lt;br /&gt;
wavもこちら側となります。&lt;br /&gt;
&lt;br /&gt;
sourceタグにtype設定をいれて、mimeに嘘をいれたりしてもダメ。&lt;br /&gt;
どうやってもだめなものはだめ。ということになりました。&lt;br /&gt;
再生できないmimeをいれると使えないsourceということで無視されるみたいです。&lt;br /&gt;
再生可能なmimeをいれると、読み込み時に再度確認して正しいmimeになるみたいです。&lt;br /&gt;
つかえねぇ。&lt;br /&gt;
&lt;br /&gt;
まぁ、video/3gppがaudioタグで再生できるだけましか・・・&lt;br /&gt;
というわけで、エンコード変換をしないかぎり、youtubeブックマークレットはどこまでいっても、再生ボタンをおさないとだめよ・・・という制限が付きまとうことになりそうです。&lt;br /&gt;
&lt;br /&gt;
あと抵抗できるとしたら、javascriptでとまっても再生がキックされるようにするくらいですかね。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/6403855830213439812/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/01/audio.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/6403855830213439812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/6403855830213439812'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/01/audio.html' title='audioタグにいろんなファイルをつっこんでみた。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-7980068760293862988</id><published>2012-01-25T21:10:00.000+09:00</published><updated>2012-01-25T21:10:48.866+09:00</updated><title type='text'>audioタグとsourceタグについて。</title><content type='html'>現在youtubeブックマークレットでは、&lt;br /&gt;
&amp;lt;audio src=&quot;動画アドレス&quot;/&amp;gt;&lt;br /&gt;
という形でタグを利用しているわけですが、&lt;br /&gt;
&amp;lt;audio&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;source src=&quot;動画アドレス&quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/audio&amp;gt;&lt;br /&gt;
という形でもソースを指定することができます。&lt;br /&gt;
&lt;br /&gt;
この挙動について、iphone上でしらべてみました。&lt;br /&gt;
&lt;br /&gt;
１つめ、audioタグにsource属性をappendChildで追記したらどうなるか&lt;br /&gt;
追記を実行すると、データが取り込まれました。(あたりまえです。)&lt;br /&gt;
sourceタグは複数設定すると、一番はじめに設定されてかつ、利用可能なデータを採用するという挙動をしますので、さらにappendChildを繰り返すとsourceがいれかわりません。(はじめにいれたものが採用されるため。)&lt;br /&gt;
一回、removeChildで前に設定した要素を取り除けばOKみたいです。&lt;br /&gt;
&lt;br /&gt;
２つめ、removeChildで要素をとりのぞいても、別のsourceを設定しないかぎりデータが有効になるっぽい。&lt;br /&gt;
removeChildしたから、再生がまったくできなくなるわけではないみたいです。&lt;br /&gt;
&lt;br /&gt;
３つめ、sourceタグを別にもってもcacheされない。&lt;br /&gt;
chromeやsafariでの動作の場合はaudioデータがキャッシュされることがあるので、sourceをいれかえるとすぐに再生できたりしますが、iphone上でsourceの入れ替えを実行してしまうと、あたらしいデータが読み込みしなおしになります。&lt;br /&gt;
&lt;br /&gt;
４つめ、audioタグを複数にわけておけば、キャッシュが有効になるみたい。&lt;br /&gt;
音楽データをいれた別のタグを準備しておけばキャッシュみたいなことが実装できるみたいです。&lt;br /&gt;
ただし、タグを超えて制御するためには、ちと制限がおおすぎ。&lt;br /&gt;
&lt;br /&gt;
とりあえずここまでわかりました。&lt;br /&gt;
youtubeブックマークレットも、mp4データをもつ別々のaudioタグをつくっていけば、電波のないところでも、複数音楽ファイルの再生ができるかもしれないですね。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/7980068760293862988/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/01/audiosource.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7980068760293862988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7980068760293862988'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/01/audiosource.html' title='audioタグとsourceタグについて。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-7781010504416689088</id><published>2012-01-25T21:03:00.000+09:00</published><updated>2012-01-25T21:03:10.313+09:00</updated><title type='text'>3G回線でのIPアドレスについて</title><content type='html'>youtubeの動画って、ipアドレスごとの接続コントロールをやってるみたいです。&lt;br /&gt;
なので、理論的には、ipアドレスが同じなら、同じソースにアクセスしにいけば動画を視聴できることになります。&lt;br /&gt;
また、m.youtube.comにはどうやらipアドレスごとの接続回数制限みたいなのが設定されているようです。&lt;br /&gt;
そのためwifiネットワークでは、たまに接続が超過してしまい、m.youtube.comがデータを返さなくなることがあります。&lt;br /&gt;
&lt;br /&gt;
というわけで、ipアドレスがかわっていなかったら、前の動画の接続をみにいけば、安定して動作するんじゃね？と思ってます。&lt;br /&gt;
&lt;br /&gt;
そのまえに・・・&lt;br /&gt;
&lt;br /&gt;
3G回線で(外出先でのネットワーク)どのくらいの頻度でipアドレスがかわるか確認してみました。&lt;br /&gt;
すると朝家をでてから、会社につくまで、地下鉄にものるので、途中でネットワークがきれているにもかかわらず、IPアドレスは一定でした。&lt;br /&gt;
会社で昼過ぎまで働いて外にでたところ、このタイミングで別のIPアドレスになり、&lt;br /&gt;
帰宅するときにはさらに別のIPアドレスが割り当てられていました。&lt;br /&gt;
&lt;br /&gt;
一定時間IPアドレスを間借りしてるみたいですね。ずっと3Gにつなぎっぱなしとかにするとまた違うかもしれませんが、とりあえず今日の検証結果はこうなりました。</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/7781010504416689088/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/01/3gip.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7781010504416689088'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/7781010504416689088'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/01/3gip.html' title='3G回線でのIPアドレスについて'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3622033303794111835.post-8106050668611275708</id><published>2012-01-24T22:34:00.000+09:00</published><updated>2012-01-24T22:34:17.775+09:00</updated><title type='text'>iphoneのjavascriptで巨大なファイルをあつかってみる。</title><content type='html'>iphoneのmobileサファリの実行時間制限に10秒までというのがありますが、別の関数の呼び出しになってれば大丈夫みたいですね。&lt;br /&gt;
&lt;br /&gt;
というわけで、デモは示すことができませんが手持ちのmp3をXMLHttpRequestをつかって読み込んできちんと全部データを取得できているか確認してみました。&lt;br /&gt;
&lt;br /&gt;
やったこと。&lt;br /&gt;
XMLHttpRequestをつかってデータを呼び出す。&lt;br /&gt;
onreadystatechageが呼び出された回数を記録する。&lt;br /&gt;
それぞれの呼び出しのresponseTextの長さを合計して読み込んだデータ長を計算する。&lt;br /&gt;
かかった時間を表示する。&lt;br /&gt;
&lt;br /&gt;
としてみました。&lt;br /&gt;
すると・・・こうなった。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA_e7IXbSXMwQpJPTYnGrKBNyWiB12USv-CKrL9BjZAO5iY5dUAXLuRcoOX0oUckvQnvvSnEnzJVlFwezOvdcFzMxyqHslvFyniwOTMi9kJghioc6CTlosyQ0XqpWQfWEvjw2SLBCasu4/s1600/image.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA_e7IXbSXMwQpJPTYnGrKBNyWiB12USv-CKrL9BjZAO5iY5dUAXLuRcoOX0oUckvQnvvSnEnzJVlFwezOvdcFzMxyqHslvFyniwOTMi9kJghioc6CTlosyQ0XqpWQfWEvjw2SLBCasu4/s320/image.png&quot; width=&quot;213&quot; /&gt;&lt;/a&gt;&lt;/div&gt;読み込みにかかった時間は３分弱&lt;br /&gt;
ステップ数は37000回弱&lt;br /&gt;
読み込みサイズは59MByte&lt;br /&gt;
ちゃんと読み込めてますね。&lt;br /&gt;
&lt;br /&gt;
XMLHttpRequestでメディアデータを呼び出すようにしておくと、分割されて処理がまわるので、問題なく動作するといったところでしょうか。&lt;br /&gt;
&lt;br /&gt;
でかいサイズのファイルを扱いたい・・・というときになにかにつかえるかも！？&lt;br /&gt;
と思いました。&lt;br /&gt;
&lt;br /&gt;
なんでこんなことやったかというと、mp3やm4aのデータをyoutubeから抽出して、localStorageに保存しておき、data URL schemeをつかってaudioタグにいれれば、音楽ファイルみたいに扱えるんじゃない！？とおもったからです。&lt;br /&gt;
&lt;br /&gt;
もっとも結果としては、「追記」という動作がaudioタグのsrcに実行できなかったため、動作しなかったんですけどね。(srcを更新するたびにデータとして受け入れるみたいで、audioタグのソースのリロードが大量にはしってフリーズしました。)&lt;br /&gt;
&lt;br /&gt;
mp4 -&amp;gt; m4a変換ができそうだったから、いけると思ったんですけどねぇ。やはりnativeアプリにはかなわないか・・・</content><link rel='replies' type='application/atom+xml' href='http://taktodtools.blogspot.com/feeds/8106050668611275708/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://taktodtools.blogspot.com/2012/01/iphonejavascript.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8106050668611275708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3622033303794111835/posts/default/8106050668611275708'/><link rel='alternate' type='text/html' href='http://taktodtools.blogspot.com/2012/01/iphonejavascript.html' title='iphoneのjavascriptで巨大なファイルをあつかってみる。'/><author><name>poepoemix</name><uri>http://www.blogger.com/profile/05463016011577425897</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmArlhv0g68lJB1e7v48w7IYddGoy8Cs8CdCdERcrqQs3pFGiA5SsoRZuc5uaBo-74FqMhnS_R34dGfKWD0AIsGj0lZuGflE3qWNLudYZlDPWeoHI4kOYjytiIFIQ6lQ/s220/atsui.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA_e7IXbSXMwQpJPTYnGrKBNyWiB12USv-CKrL9BjZAO5iY5dUAXLuRcoOX0oUckvQnvvSnEnzJVlFwezOvdcFzMxyqHslvFyniwOTMi9kJghioc6CTlosyQ0XqpWQfWEvjw2SLBCasu4/s72-c/image.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>