<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Branberyheag!! Lab &#187; Tips</title>
	<atom:link href="http://lab.branberyheag.com/tag/tips/feed" rel="self" type="application/rss+xml" />
	<link>http://lab.branberyheag.com</link>
	<description>ActionScript3.0やJavascriptを使っていろんなものを作ってみます。</description>
	<lastBuildDate>Fri, 03 Feb 2012 06:28:02 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://lab.branberyheag.com/?pushpress=hub'/>
		<item>
		<title>Proceesing.jsが何気に面白い</title>
		<link>http://lab.branberyheag.com/2011/12/22/proceesing-js%e3%81%8c%e4%bd%95%e6%b0%97%e3%81%ab%e9%9d%a2%e7%99%bd%e3%81%84.html</link>
		<comments>http://lab.branberyheag.com/2011/12/22/proceesing-js%e3%81%8c%e4%bd%95%e6%b0%97%e3%81%ab%e9%9d%a2%e7%99%bd%e3%81%84.html#comments</comments>
		<pubDate>Thu, 22 Dec 2011 12:00:44 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[Proceesing]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1153</guid>
		<description><![CDATA[HTML5でビジュアライズして、遊んでみようと思って、ライブラリを使うか自分で作ろうか悩んでいたときに、Proceesing.jsに出会った。 Proceesingとは、デザイン用のプログラミング言語で、JAVAでできて [...]]]></description>
			<content:encoded><![CDATA[<p>HTML5でビジュアライズして、遊んでみようと思って、ライブラリを使うか自分で作ろうか悩んでいたときに、Proceesing.jsに出会った。</p>
<p><span id="more-1153"></span></p>
<p>Proceesingとは、デザイン用のプログラミング言語で、JAVAでできている。<br />
言語としては、かなりシンプルでわかりやすい。外部からデータを取得できるので、ビジュアライザとして使うことも可能。</p>
<p>このJavascript版として、2,3年前にリリースされた。JAVA版とメソッドがほとんど変わらないので、日本語ドキュメントもあって、何気に便利。習得するコストは、低いのではないかと思った。ただ、やっぱり独自の言語なので、クセはあるけどJavascriptが分かれば簡単に覚えられるレベルだと思う。</p>
<p><a href="http://processingjs.org/">Proceesing.js公式サイト</a></p>
<p><a href="http://tetraleaf.com/p5_reference_alpha/">日本語版のリファレンス</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/09/30/jquery-deferred%e3%81%a3%e3%81%a6%e3%81%aa%e3%82%93%e3%81%a8%e3%81%aa%e3%81%8f%e4%be%bf%e5%88%a9%e3%81%ae%e3%82%88%e3%81%86%e3%81%aa%e6%b0%97%e3%81%8c%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年9月30日">jQuery.Deferredってなんとなく便利のような気がする</a></li>
<li><a href="http://lab.branberyheag.com/2011/04/26/google-maps-api-v3%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e4%b9%85%e3%81%97%e3%81%b6%e3%82%8a%e3%81%ab%e8%aa%bf%e3%81%b9%e3%81%a6%e3%81%bf%e3%81%9f.html" rel="bookmark" title="2011年4月26日">Google Maps API V3が面白い！</a></li>
<li><a href="http://lab.branberyheag.com/2010/09/30/google-map-api-v3%e3%81%ae%e3%83%9e%e3%83%8b%e3%83%a5%e3%82%a2%e3%83%ab%e3%81%ae%e6%97%a5%e6%9c%ac%e8%aa%9e%e5%8c%96.html" rel="bookmark" title="2010年9月30日">Google Map API V3のマニュアルの日本語化</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/15/phonegap%e3%81%ae%e5%8f%af%e8%83%bd%e6%80%a7.html" rel="bookmark" title="2011年9月15日">phoneGapの可能性</a></li>
<li><a href="http://lab.branberyheag.com/2010/06/10/wordpress_cheat_sheet.html" rel="bookmark" title="2010年6月10日">WordPressチートシート</a></li>
</ul>
<p><!-- Similar Posts took 3.602 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/12/22/proceesing-js%e3%81%8c%e4%bd%95%e6%b0%97%e3%81%ab%e9%9d%a2%e7%99%bd%e3%81%84.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AJAXサイトをクローラブルにする</title>
		<link>http://lab.branberyheag.com/2011/12/06/ajax%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e3%82%af%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%96%e3%83%ab%e3%81%ab%e3%81%99%e3%82%8b.html</link>
		<comments>http://lab.branberyheag.com/2011/12/06/ajax%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e3%82%af%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%96%e3%83%ab%e3%81%ab%e3%81%99%e3%82%8b.html#comments</comments>
		<pubDate>Tue, 06 Dec 2011 14:57:47 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1147</guid>
		<description><![CDATA[SEMサーチさんに 「AJAXサイトをクローラブルにする &#8211; 検索エンジンフレンドリーなAJAX実装方法」という記事が掲載されていた。 「#」だけでなく「#!」をつけることでキャッシュされる仕様になっているみ [...]]]></description>
			<content:encoded><![CDATA[<p>SEMサーチさんに<span id="more-1147"></span></p>
<p>「<a href="http://www.sem-r.com/seo/20100305195304.html">AJAXサイトをクローラブルにする &#8211; 検索エンジンフレンドリーなAJAX実装方法</a>」という記事が掲載されていた。</p>
<p>「#」だけでなく「#!」をつけることでキャッシュされる仕様になっているみたい。<br />
※古い記事なので、知っているよっていう感じでしたら、スルーしてください。</p>
<p>branberyheag.jpを実装するときは、Javascriptで動的にURLを変更してクロール時には、ビュアなURLにしていた。<br />
もちろんHTML5ならこの問題も解決するようなAPIもあるけど、IEには対応していない。</p>
<p>素直にこれを使うというのも素直でいいと思うけど。<br />
現実的に無理なら堅実に考えて実装を考えてもいいのかもね。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/04/07/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%82%b5%e3%82%a4%e3%83%88%e6%a7%8b%e7%af%89.html" rel="bookmark" title="2011年4月7日">カスタム投稿を使ってサイト構築の資料</a></li>
<li><a href="http://lab.branberyheag.com/2009/08/17/as3%e3%82%aa%e3%83%96%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%81%ae%e9%87%8d%e3%81%aa%e3%82%8a%e9%a0%86%e5%88%b6%e5%be%a1%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%83%bb%e3%83%bb%e3%83%bb.html" rel="bookmark" title="2009年8月17日">[AS3]オブジェクトの重なり順制御するには・・・</a></li>
<li><a href="http://lab.branberyheag.com/2009/08/10/flex_scrollbar_desinging.html" rel="bookmark" title="2009年8月10日">Flexのスクロールバーをデザインする</a></li>
<li><a href="http://lab.branberyheag.com/2009/12/29/wordpress%e3%81%a7%e3%83%9a%e3%83%bc%e3%82%b8%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%82%92%e9%81%b8%e6%8a%9e%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b.html" rel="bookmark" title="2009年12月29日">wordpressでページテンプレートを選択できるようにするには・・・</a></li>
<li><a href="http://lab.branberyheag.com/2009/11/12/javascript_tips.html" rel="bookmark" title="2009年11月12日">「JavaScriptを高速化する6つのテクニック」という記事を読んだ</a></li>
</ul>
<p><!-- Similar Posts took 3.650 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/12/06/ajax%e3%82%b5%e3%82%a4%e3%83%88%e3%82%92%e3%82%af%e3%83%ad%e3%83%bc%e3%83%a9%e3%83%96%e3%83%ab%e3%81%ab%e3%81%99%e3%82%8b.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascriptで複数の戻り値を返す方法</title>
		<link>http://lab.branberyheag.com/2011/11/01/javascript%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%ae%e6%88%bb%e3%82%8a%e5%80%a4%e3%82%92%e8%bf%94%e3%81%99%e6%96%b9%e6%b3%95.html</link>
		<comments>http://lab.branberyheag.com/2011/11/01/javascript%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%ae%e6%88%bb%e3%82%8a%e5%80%a4%e3%82%92%e8%bf%94%e3%81%99%e6%96%b9%e6%b3%95.html#comments</comments>
		<pubDate>Tue, 01 Nov 2011 09:13:40 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1127</guid>
		<description><![CDATA[戻り値が複数ある場合は、以下のようにする。 というような感じになる。これを覚えていると座標の計算とか値が複数あったときにすごい役に立つ。関連した記事 Javascriptの配列を空にする方法 Windowの一番下までスク [...]]]></description>
			<content:encoded><![CDATA[<p>戻り値が複数ある場合は、以下のようにする。</p>
<p><span id="more-1127"></span></p>
<pre class="brush: jscript; title: ; notranslate">

function testFunc(){

return{x: 90, y: 10}

}

var hoge = testFunc();

hoge.x  // 90

hoge.y //80
</pre>
<p>というような感じになる。これを覚えていると座標の計算とか値が複数あったときにすごい役に立つ。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/05/19/javascript%e3%81%ae%e9%85%8d%e5%88%97%e3%82%92%e7%a9%ba%e3%81%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95.html" rel="bookmark" title="2011年5月19日">Javascriptの配列を空にする方法</a></li>
<li><a href="http://lab.branberyheag.com/2011/03/30/window%e3%81%ae%e4%b8%80%e7%95%aa%e4%b8%8b%e3%81%be%e3%81%a7%e3%82%b9%e3%82%af%e3%83%ad%e3%83%bc%e3%83%ab%e3%81%95%e3%82%8c%e3%81%9f%e3%81%93%e3%81%a8%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年3月30日">Windowの一番下までスクロールされたことを取得する方法</a></li>
<li><a href="http://lab.branberyheag.com/2011/03/29/javascript%e3%81%a7%e6%96%87%e5%ad%97%e5%88%97%e6%a4%9c%e7%b4%a2%e3%82%92%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年3月29日">Javascriptで文字列検索をする</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/12/html5%e3%81%ae%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e5%b1%9e%e6%80%a7%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html" rel="bookmark" title="2011年9月12日">HTML5のカスタム属性について</a></li>
<li><a href="http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html" rel="bookmark" title="2011年10月26日">画像にbase64をかけてhtmlやCSSに埋め込む</a></li>
</ul>
<p><!-- Similar Posts took 4.324 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/11/01/javascript%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%ae%e6%88%bb%e3%82%8a%e5%80%a4%e3%82%92%e8%bf%94%e3%81%99%e6%96%b9%e6%b3%95.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>画像にbase64をかけてhtmlやCSSに埋め込む</title>
		<link>http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html</link>
		<comments>http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html#comments</comments>
		<pubDate>Wed, 26 Oct 2011 01:31:34 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1120</guid>
		<description><![CDATA[画像にbase64（Data URIs）をかけてHTMLやCSSに埋め込む方法って、知らなかった。。。HTTPリクエストを減らせるので、軽量化に役に立ちそうだったので、メモ。 と書いていたものを と書けるようだ。 オンラ [...]]]></description>
			<content:encoded><![CDATA[<p>画像にbase64（Data URIs）をかけてHTMLやCSSに埋め込む方法って、知らなかった。。。HTTPリクエストを減らせるので、軽量化に役に立ちそうだったので、メモ。</p>
<p><span id="more-1120"></span></p>
<pre class="brush: xml; title: ; notranslate">

&lt;img src=&quot;http://hogehoge.jp/hoge.png&quot;&gt;
</pre>
<p>と書いていたものを</p>
<pre class="brush: xml; title: ; notranslate">

&lt;img src=&quot;data:image/png;base64,iVBORw0KGgo....&quot;&gt;
</pre>
<p>と書けるようだ。</p>
<p>オンラインツールでひとつひとつ変換するのもいいけど、PHPで変換すればアップロードのみで対応ができそう。</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
$img = file_get_contents( 'http://hogehoge.jp/hoge.png' );
if ( $img !== false ) {
$img = base64_encode( $img );
}
?&gt;
</pre>
<p>上記はあくまでもサンプルだけど、これを関数にしてhtmlに埋め込んで、base64にしてキャッシュすればかなり軽量化されるかもしれない。<br />
未検証だけど・・・</p>
<p>「&lt;img src=&#8221;data:image/png;」のpngの部分を適宜変える必要があるので、下記のような判定が必要。</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
...
static protected function getDataType( $img_link ) {
switch( exif_imagetype( $img_link ) ) {
case IMAGETYPE_GIF      : $res = &quot;gif&quot;; break;
case IMAGETYPE_JPEG     : $res = &quot;jpg&quot;; break;
case IMAGETYPE_PNG      : $res = &quot;png&quot;; break;
//          case IMAGETYPE_SWF      : $res = &quot;&quot;; break;
//          case IMAGETYPE_PSD      : $res = &quot;&quot;; break;
//          case IMAGETYPE_BMP      : $res = &quot;&quot;; break;
//          case IMAGETYPE_TIFF_II  : $res = &quot;&quot;; break;
//          case IMAGETYPE_TIFF_MM  : $res = &quot;&quot;; break;
//          case IMAGETYPE_JPC      : $res = &quot;&quot;; break;
//          case IMAGETYPE_JP2      : $res = &quot;&quot;; break;
//          case IMAGETYPE_JPX      : $res = &quot;&quot;; break;
//          case IMAGETYPE_JB2      : $res = &quot;&quot;; break;
//          case IMAGETYPE_SWC      : $res = &quot;&quot;; break;
//          case IMAGETYPE_IFF      : $res = &quot;&quot;; break;
//          case IMAGETYPE_WBMP     : $res = &quot;&quot;; break;
//          case IMAGETYPE_XBM      : $res = &quot;&quot;; break;
default : $res = false;
}
return $res;
}
?&gt;
</pre>
<p>オンラインツールもあるので、これもメモ。</p>
<p>Image to data URI convertor<br />
<a href="http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/">http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/</a></p>
<p>WordPressテンプレートやWebサービスを作るときに役に立つと思う。</p>
<p><strong>参考にしたサイト</strong></p>
<ul>
<li><a href="http://d.hatena.ne.jp/moogme/20090814/p3">http://d.hatena.ne.jp/moogme/20090814/p3</a></li>
<li><a href="http://kaworu.jpn.org/kaworu/2008-04-06-1.php">http://kaworu.jpn.org/kaworu/2008-04-06-1.php</a></li>
<li><a href="http://tokkono.cute.coocan.jp/blog/slow/index.php/xhtmlcss/reduce-http-requests-using-data-uris/">http://tokkono.cute.coocan.jp/blog/slow/index.php/xhtmlcss/reduce-http-requests-using-data-uris/</a></li>
<li><a href="http://css-tricks.com/5970-data-uris/">http://css-tricks.com/5970-data-uris/</a></li>
</ul>
<p><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/12/22/proceesing-js%e3%81%8c%e4%bd%95%e6%b0%97%e3%81%ab%e9%9d%a2%e7%99%bd%e3%81%84.html" rel="bookmark" title="2011年12月22日">Proceesing.jsが何気に面白い</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/30/jquery-deferred%e3%81%a3%e3%81%a6%e3%81%aa%e3%82%93%e3%81%a8%e3%81%aa%e3%81%8f%e4%be%bf%e5%88%a9%e3%81%ae%e3%82%88%e3%81%86%e3%81%aa%e6%b0%97%e3%81%8c%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年9月30日">jQuery.Deferredってなんとなく便利のような気がする</a></li>
<li><a href="http://lab.branberyheag.com/2010/08/18/twitter_image_url.html" rel="bookmark" title="2010年8月18日">twitterの画像のURLを取得する</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/12/html5%e3%81%ae%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e5%b1%9e%e6%80%a7%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html" rel="bookmark" title="2011年9月12日">HTML5のカスタム属性について</a></li>
<li><a href="http://lab.branberyheag.com/2011/05/24/flexftp.html" rel="bookmark" title="2011年5月24日">FlexFTP</a></li>
</ul>
<p><!-- Similar Posts took 4.395 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instagram api にアクセスできた</title>
		<link>http://lab.branberyheag.com/2011/10/26/instagram-api-2.html</link>
		<comments>http://lab.branberyheag.com/2011/10/26/instagram-api-2.html#comments</comments>
		<pubDate>Tue, 25 Oct 2011 22:52:51 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1115</guid>
		<description><![CDATA[前にphpを利用して、Instagram apiにログインできてないって、書いたけど今更だけどできた。 原因は、リダイレクト先のURLがおかしかった。 ということで、これでアクセストークンが取得できたので、自分の写真を取 [...]]]></description>
			<content:encoded><![CDATA[<p>前にphpを利用して、Instagram apiにログインできてないって、書いたけど今更だけどできた。<br />
原因は、リダイレクト先のURLがおかしかった。</p>
<p>ということで、これでアクセストークンが取得できたので、自分の写真を取得できるようになった。これでまたなんか作りたいな。<br />
シンプルにスライドショーとかでもいいけど、もっとなんか面白いことやってみたいな。。。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/03/30/window%e3%81%ae%e4%b8%80%e7%95%aa%e4%b8%8b%e3%81%be%e3%81%a7%e3%82%b9%e3%82%af%e3%83%ad%e3%83%bc%e3%83%ab%e3%81%95%e3%82%8c%e3%81%9f%e3%81%93%e3%81%a8%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年3月30日">Windowの一番下までスクロールされたことを取得する方法</a></li>
<li><a href="http://lab.branberyheag.com/2010/04/21/simplexml.html" rel="bookmark" title="2010年4月21日">simple XMLで名前空間を取得する方法</a></li>
<li><a href="http://lab.branberyheag.com/2009/12/16/flash_good_job.html" rel="bookmark" title="2009年12月16日">久々にflashに感動した</a></li>
<li><a href="http://lab.branberyheag.com/2009/12/12/flex%e3%81%a7%e7%b8%a6%e6%9b%b8%e3%81%8d%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%a3%e3%81%a6%e3%81%82%e3%81%a3%e3%81%9f%e3%82%93%e3%81%a0%ef%bd%97.html" rel="bookmark" title="2009年12月12日">Flexで縦書きする方法ってあったんだｗ</a></li>
<li><a href="http://lab.branberyheag.com/2009/07/30/crossdomain.html" rel="bookmark" title="2009年7月30日">[AS3.0][JS]クロスドメインに対応する</a></li>
</ul>
<p><!-- Similar Posts took 4.289 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/10/26/instagram-api-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery.Deferredってなんとなく便利のような気がする</title>
		<link>http://lab.branberyheag.com/2011/09/30/jquery-deferred%e3%81%a3%e3%81%a6%e3%81%aa%e3%82%93%e3%81%a8%e3%81%aa%e3%81%8f%e4%be%bf%e5%88%a9%e3%81%ae%e3%82%88%e3%81%86%e3%81%aa%e6%b0%97%e3%81%8c%e3%81%99%e3%82%8b.html</link>
		<comments>http://lab.branberyheag.com/2011/09/30/jquery-deferred%e3%81%a3%e3%81%a6%e3%81%aa%e3%82%93%e3%81%a8%e3%81%aa%e3%81%8f%e4%be%bf%e5%88%a9%e3%81%ae%e3%82%88%e3%81%86%e3%81%aa%e6%b0%97%e3%81%8c%e3%81%99%e3%82%8b.html#comments</comments>
		<pubDate>Fri, 30 Sep 2011 01:34:18 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1108</guid>
		<description><![CDATA[非同期で処理するときに処理の順番待ちと処理の予約、処理がうまくいったときと失敗したときの処理をいい具合にしてくれるものだと思う。。。 複雑な処理とかする場合は、使える。 どこかの案件で試してみようかな。 参考になったサイ [...]]]></description>
			<content:encoded><![CDATA[<p>非同期で処理するときに処理の順番待ちと処理の予約、処理がうまくいったときと失敗したときの処理をいい具合にしてくれるものだと思う。。。</p>
<p>複雑な処理とかする場合は、使える。<br />
どこかの案件で試してみようかな。</p>
<p><strong>参考になったサイト</strong></p>
<ul>
<li><a href="http://tokkono.cute.coocan.jp/blog/slow/index.php/programming/jquery-deferred-for-responsive-applications-basic/">jQueryのDeferredとPromiseで応答性の良いアプリをー基本編</a></li>
<li><a href="http://tokkono.cute.coocan.jp/blog/slow/index.php/programming/how-happy-with-jquery-deferred-for-your-applications/">jQueryのDeferredとPromiseで応答性の良いアプリをー実践編</a></li>
<li><a href="http://hamalog.tumblr.com/post/5159447047/jquery-deferred">jQuery.Deferredって何 </a></li>
</ul>
<p><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/12/22/proceesing-js%e3%81%8c%e4%bd%95%e6%b0%97%e3%81%ab%e9%9d%a2%e7%99%bd%e3%81%84.html" rel="bookmark" title="2011年12月22日">Proceesing.jsが何気に面白い</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/15/phonegap%e3%81%ae%e5%8f%af%e8%83%bd%e6%80%a7.html" rel="bookmark" title="2011年9月15日">phoneGapの可能性</a></li>
<li><a href="http://lab.branberyheag.com/2011/08/14/%e3%81%8a%e4%bb%95%e4%ba%8b%e7%94%a8%e3%82%b5%e3%82%a4%e3%83%88%e3%80%8cbranberyheag-jp%e3%80%8d%e3%82%92%e3%83%ad%e3%83%bc%e3%83%b3%e3%83%81%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%9c.html" rel="bookmark" title="2011年8月14日">お仕事用サイト「Branberyheag!!.jp」をローンチしました〜</a></li>
<li><a href="http://lab.branberyheag.com/2011/02/17/web-worker-web-storage.html" rel="bookmark" title="2011年2月17日">Web Worker とWeb Storageの組み合わせで何ができるか考えてみた</a></li>
<li><a href="http://lab.branberyheag.com/2011/11/29/javascript%e3%81%ae%e5%a4%9a%e6%ac%a1%e5%85%83%e9%85%8d%e5%88%97%e3%81%a8%e9%80%a3%e6%83%b3%e9%85%8d%e5%88%97.html" rel="bookmark" title="2011年11月29日">JavaScriptの多次元配列と連想配列</a></li>
</ul>
<p><!-- Similar Posts took 3.981 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/09/30/jquery-deferred%e3%81%a3%e3%81%a6%e3%81%aa%e3%82%93%e3%81%a8%e3%81%aa%e3%81%8f%e4%be%bf%e5%88%a9%e3%81%ae%e3%82%88%e3%81%86%e3%81%aa%e6%b0%97%e3%81%8c%e3%81%99%e3%82%8b.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOSデベロッパーライセンス（有償版）で注意したいこと</title>
		<link>http://lab.branberyheag.com/2011/09/27/ios%e3%83%87%e3%83%99%e3%83%ad%e3%83%83%e3%83%91%e3%83%bc%e3%83%a9%e3%82%a4%e3%82%bb%e3%83%b3%e3%82%b9%ef%bc%88%e6%9c%89%e5%84%9f%e7%89%88%ef%bc%89%e3%81%a7%e6%b3%a8%e6%84%8f%e3%81%97%e3%81%9f.html</link>
		<comments>http://lab.branberyheag.com/2011/09/27/ios%e3%83%87%e3%83%99%e3%83%ad%e3%83%83%e3%83%91%e3%83%bc%e3%83%a9%e3%82%a4%e3%82%bb%e3%83%b3%e3%82%b9%ef%bc%88%e6%9c%89%e5%84%9f%e7%89%88%ef%bc%89%e3%81%a7%e6%b3%a8%e6%84%8f%e3%81%97%e3%81%9f.html#comments</comments>
		<pubDate>Tue, 27 Sep 2011 09:36:24 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1097</guid>
		<description><![CDATA[iOSデベロッパーライセンス取得する時に、褄づいてしまったので、メモ。 デベロッパーライセンスを取得アカウントは、別に作った方がいい。 英語表記じゃないと有償版の認証が通らないので、iTunesなどで使っているものとは別 [...]]]></description>
			<content:encoded><![CDATA[<p>iOSデベロッパーライセンス取得する時に、褄づいてしまったので、メモ。</p>
<p><span id="more-1097"></span></p>
<p><strong>デベロッパーライセンスを取得アカウントは、別に作った方がいい。</strong><br />
英語表記じゃないと有償版の認証が通らないので、iTunesなどで使っているものとは別の方がいい。</p>
<p><strong>支払い情報も英語表記で、入力する。</strong><br />
ライセンスをカートに入れて、購入手続きをする時に、自分の住所を入れるところがある。<br />
ここも英語表記で入力する。ここも英語で入力しないと認証が通らない。<br />
↑自分は、ここで日本語で入れたためにライセンスの認証が通らなかった。</p>
<p>もし、ライセンス認証がうまく行かなかった場合は、、、<br />
認証失敗するとFAXで自分の身分証明書を送ってください、と英語で出るけど<br />
やりとりにものすごい時間がかかるので、デベロッパーサポートセンターに連絡した方が早い。</p>
<p><a href="http://developer.apple.com/jp/contact/phone.php">サポートセンター電話番号一覧 </a></p>
<p>電話だと一瞬で終わってしまう。<br />
原因は、デベロッパー登録したときの住所と支払い時に入れた情報が同じでないとこういうことが起こるらしい。</p>
<p>ちなみに、円高の影響でライセンス料は8400円だった。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2012/02/03/titanium-mobile%e3%81%a7%e3%81%aa%e3%82%93%e3%81%8b%e3%82%92%e4%bd%9c%e3%82%8d%e3%81%86.html" rel="bookmark" title="2012年2月3日">Titanium Mobileでなんかを作ろう</a></li>
<li><a href="http://lab.branberyheag.com/2012/01/10/iphone%e3%82%a2%e3%83%97%e3%83%aa%e3%81%ae%e3%82%a2%e3%82%a4%e3%83%87%e3%82%a2%e3%81%ab%e6%82%a9%e3%82%80.html" rel="bookmark" title="2012年1月10日">iPhoneアプリのアイデアに悩む</a></li>
<li><a href="http://lab.branberyheag.com/2011/03/29/javascript%e3%81%a7%e6%96%87%e5%ad%97%e5%88%97%e6%a4%9c%e7%b4%a2%e3%82%92%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年3月29日">Javascriptで文字列検索をする</a></li>
<li><a href="http://lab.branberyheag.com/2009/12/16/adobe-air.html" rel="bookmark" title="2009年12月16日">adobe AIRでのBasic認証</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/01/wordpress%e3%81%ae%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%82%92%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%81%ab%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年9月1日">WordPressのログインフォームをテンプレートに実装する方法</a></li>
</ul>
<p><!-- Similar Posts took 5.013 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/09/27/ios%e3%83%87%e3%83%99%e3%83%ad%e3%83%83%e3%83%91%e3%83%bc%e3%83%a9%e3%82%a4%e3%82%bb%e3%83%b3%e3%82%b9%ef%bc%88%e6%9c%89%e5%84%9f%e7%89%88%ef%bc%89%e3%81%a7%e6%b3%a8%e6%84%8f%e3%81%97%e3%81%9f.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5のカスタム属性について</title>
		<link>http://lab.branberyheag.com/2011/09/12/html5%e3%81%ae%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e5%b1%9e%e6%80%a7%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html</link>
		<comments>http://lab.branberyheag.com/2011/09/12/html5%e3%81%ae%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e5%b1%9e%e6%80%a7%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html#comments</comments>
		<pubDate>Mon, 12 Sep 2011 12:00:10 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[html5]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1086</guid>
		<description><![CDATA[&#160; HTML5では、カスタムできる属性がある。 書式は というような感じでかけるようだ。かなり便利でしょ！ 参考サイト http://havelog.ayumusato.com/develop/html/e15 [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<p>HTML5では、カスタムできる属性がある。</p>
<p>書式は</p>
<pre class="brush: xml; title: ; notranslate">

&lt;h1 data-hoge=&quot;hoge&quot;&gt;タイトル&lt;/h1&gt;
</pre>
<p>というような感じでかけるようだ。かなり便利でしょ！</p>
<p><strong>参考サイト</strong></p>
<p><a href="http://havelog.ayumusato.com/develop/html/e158-html5-custom-data-attribute.html">http://havelog.ayumusato.com/develop/html/e158-html5-custom-data-attribute.html</a></p>
<p>属性を作るにはルールがあって、最初「data-」をつけないといけない。</p>
<p>HTML5で作るんだったらぜひ、これを使ってみたい。</p>
<p>&nbsp;<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html" rel="bookmark" title="2011年10月26日">画像にbase64をかけてhtmlやCSSに埋め込む</a></li>
<li><a href="http://lab.branberyheag.com/2011/11/01/javascript%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%ae%e6%88%bb%e3%82%8a%e5%80%a4%e3%82%92%e8%bf%94%e3%81%99%e6%96%b9%e6%b3%95.html" rel="bookmark" title="2011年11月1日">Javascriptで複数の戻り値を返す方法</a></li>
<li><a href="http://lab.branberyheag.com/2010/05/13/about_html5.html" rel="bookmark" title="2010年5月13日">HTML5についていろいろと調べてみた</a></li>
<li><a href="http://lab.branberyheag.com/2011/04/07/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6%e3%82%b5%e3%82%a4%e3%83%88%e6%a7%8b%e7%af%89.html" rel="bookmark" title="2011年4月7日">カスタム投稿を使ってサイト構築の資料</a></li>
<li><a href="http://lab.branberyheag.com/2011/05/19/javascript%e3%81%ae%e9%85%8d%e5%88%97%e3%82%92%e7%a9%ba%e3%81%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95.html" rel="bookmark" title="2011年5月19日">Javascriptの配列を空にする方法</a></li>
</ul>
<p><!-- Similar Posts took 4.878 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/09/12/html5%e3%81%ae%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e5%b1%9e%e6%80%a7%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressのログインフォームをテンプレートに実装する方法</title>
		<link>http://lab.branberyheag.com/2011/09/01/wordpress%e3%81%ae%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%82%92%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%81%ab%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b.html</link>
		<comments>http://lab.branberyheag.com/2011/09/01/wordpress%e3%81%ae%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%82%92%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%81%ab%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b.html#comments</comments>
		<pubDate>Thu, 01 Sep 2011 10:24:37 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1084</guid>
		<description><![CDATA[お仕事用サイトで、クライアント案件だけをWordPressの認証画面を通してから表示したかった。 テンプレート上にログインフォームを付けれるようだったので、実際に試してみた。 これをうまく組み替えて使うと良いみたい。 デ [...]]]></description>
			<content:encoded><![CDATA[<p>お仕事用サイトで、クライアント案件だけをWordPressの認証画面を通してから表示したかった。<br />
テンプレート上にログインフォームを付けれるようだったので、実際に試してみた。</p>
<p><span id="more-1084"></span></p>
<pre class="brush: php; title: ; notranslate">

&lt;li&gt;&lt;h2&gt;ログイン&lt;/h2&gt;
&lt;?php if (is_user_logged_in()) : ?&gt;
Welcome! &lt;?php global $current_user; echo $current_user-&gt;display_name ?&gt;さん&lt;br /&gt;
ログアウトは &amp;raquo; &lt;a href=&quot;&lt;?php echo wp_logout_url() ?&gt;&amp;amp;redirect_to=&lt;?php echo esc_attr($_SERVER['REQUEST_URI']) ?&gt;&quot;&gt;こちら&lt;/a&gt;
&lt;?php else : ?&gt;
&lt;form method=&quot;post&quot; action=&quot;&lt;?php echo wp_login_url() ?&gt;?redirect_to=&lt;?php echo esc_attr($_SERVER['REQUEST_URI']) ?&gt;&quot;&gt;
&lt;p&gt;&lt;label for=&quot;login_username&quot;&gt;ユーザー名：&lt;/label&gt;&lt;br /&gt;
&lt;input type=&quot;text&quot; name=&quot;log&quot; id=&quot;login_username&quot; value=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;label for=&quot;login_password&quot;&gt;パスワード：&lt;/label&gt;&lt;br /&gt;
&lt;input type=&quot;password&quot; name=&quot;pwd&quot; id=&quot;login_password&quot; value=&quot;&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;input type=&quot;submit&quot; value=&quot;ログイン&quot; /&gt;&lt;/p&gt;
&lt;/form&gt;
&lt;?php endif; ?&gt;
&lt;/li&gt;
</pre>
<p>これをうまく組み替えて使うと良いみたい。<br />
デフォルトのテンプレートぽい作りになっているので、適宜、自分のテンプレートに合うように作ればいい。</p>
<p>管理画面に行かせないようにするには</p>
<pre class="brush: php; title: ; notranslate">

function mts_check_login() {
global $current_user;

get_currentuserinfo();
extract($current_user-&gt;wp_capabilities);
if ($subscriber) {
wp_redirect(get_bloginfo('url'));
}
}

add_action('admin_init', 'mts_check_login');
</pre>
<p>これをfunction.phpに入れておく。<br />
これで管理画面に行けないようすることができるみたい。実用性はかなりあるので、メモ。</p>
<p>参考したサイト</p>
<p>「WordPress ログインフォームをページ上に表示してログインするには<a href="http://web.mt-systems.jp/archives/354">」<br />
http://web.mt-systems.jp/archives/354</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2009/12/29/wordpress%e3%81%a7%e3%83%9a%e3%83%bc%e3%82%b8%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%82%92%e9%81%b8%e6%8a%9e%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b.html" rel="bookmark" title="2009年12月29日">wordpressでページテンプレートを選択できるようにするには・・・</a></li>
<li><a href="http://lab.branberyheag.com/2010/06/07/featured-image.html" rel="bookmark" title="2010年6月7日">WordPress3.0機能メモ　 featured image アイキャッチ画像</a></li>
<li><a href="http://lab.branberyheag.com/2010/04/21/simplexml.html" rel="bookmark" title="2010年4月21日">simple XMLで名前空間を取得する方法</a></li>
<li><a href="http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html" rel="bookmark" title="2011年10月26日">画像にbase64をかけてhtmlやCSSに埋め込む</a></li>
<li><a href="http://lab.branberyheag.com/2011/10/26/instagram-api-2.html" rel="bookmark" title="2011年10月26日">Instagram api にアクセスできた</a></li>
</ul>
<p><!-- Similar Posts took 5.127 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/09/01/wordpress%e3%81%ae%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%82%92%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%81%ab%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>お仕事用サイト「Branberyheag!!.jp」をローンチしました〜</title>
		<link>http://lab.branberyheag.com/2011/08/14/%e3%81%8a%e4%bb%95%e4%ba%8b%e7%94%a8%e3%82%b5%e3%82%a4%e3%83%88%e3%80%8cbranberyheag-jp%e3%80%8d%e3%82%92%e3%83%ad%e3%83%bc%e3%83%b3%e3%83%81%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%9c.html</link>
		<comments>http://lab.branberyheag.com/2011/08/14/%e3%81%8a%e4%bb%95%e4%ba%8b%e7%94%a8%e3%82%b5%e3%82%a4%e3%83%88%e3%80%8cbranberyheag-jp%e3%80%8d%e3%82%92%e3%83%ad%e3%83%bc%e3%83%b3%e3%83%81%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%9c.html#comments</comments>
		<pubDate>Sat, 13 Aug 2011 22:23:43 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[作品]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1071</guid>
		<description><![CDATA[お仕事用サイト「Branberyheag!!.jp」を公開。 最初は、自分のポートフォリオサイトを作るつもりなかったのですが、段々、システムが出来上がってくると、いい感じの完成度になってしまって、これを単純に公開するのも [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://lab.branberyheag.com/wp-content/20110811.jpg" rel="shadowbox[post-1071];player=img;" title="20110811"><img class="size-medium wp-image-1072 alignnone" title="20110811" src="http://lab.branberyheag.com/wp-content/20110811-300x173.jpg" alt="" width="300" height="173" /></a></p>
<p>お仕事用サイト「<a href="http://branberyheag.jp/">Branberyheag!!.jp</a>」を公開。</p>
<p>最初は、自分のポートフォリオサイトを作るつもりなかったのですが、段々、システムが出来上がってくると、いい感じの完成度になってしまって、これを単純に公開するのも勿体ないなと思って、自分用のサイトにしてみた。</p>
<p>技術的な話をするとWordPressでできていて、カテゴリー、ページ、記事というようなシンプルな構成でできあがっている。ただ、ページ遷移は、なくてJQueryのload()を使って、HTMLを呼び出している。戻る、進むボタンを有効にするため、ハッシュタグをURLに組み込んで、あとはプラグインでの処理を行っている。</p>
<p>あとは、スライドショーは、Arrayに画像のパス、サイズをつっこんで、ページおくりしたときに呼び出している。DOMを操作して、消えたり出したりするよりは、処理が速いような気がする。</p>
<p>これを作ったときにいろいろとTipsが溜まったので、ネタを公開していきたい。</p>
<p>これ、フェーズ１なんで、もう少し手直しと機能を追加する予定。</p>
<p>以前やった、クライアント案件で、この技術を使えばもっといいものができたとこれを作りながら思った。いつか修正したいけどね。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/01/11/sukinabasho.html" rel="bookmark" title="2010年1月11日">コミュニティサイト「すきなばしょ」プレリリース</a></li>
<li><a href="http://lab.branberyheag.com/2011/03/30/%e3%80%8cinstagram-wall%e3%80%8d%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%9f.html" rel="bookmark" title="2011年3月30日">「instagram Wall」を作った</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/30/jquery-deferred%e3%81%a3%e3%81%a6%e3%81%aa%e3%82%93%e3%81%a8%e3%81%aa%e3%81%8f%e4%be%bf%e5%88%a9%e3%81%ae%e3%82%88%e3%81%86%e3%81%aa%e6%b0%97%e3%81%8c%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年9月30日">jQuery.Deferredってなんとなく便利のような気がする</a></li>
<li><a href="http://lab.branberyheag.com/2010/07/17/wordpress3-0_templte.html" rel="bookmark" title="2010年7月17日">WordPress3.0にバージョンアップしたら、テンプレートJavascriptエラーになった</a></li>
<li><a href="http://lab.branberyheag.com/2011/07/12/jquery%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3skroll-js%e3%80%8d.html" rel="bookmark" title="2011年7月12日">JQueryプラグイン「skroll.js」</a></li>
</ul>
<p><!-- Similar Posts took 5.330 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/08/14/%e3%81%8a%e4%bb%95%e4%ba%8b%e7%94%a8%e3%82%b5%e3%82%a4%e3%83%88%e3%80%8cbranberyheag-jp%e3%80%8d%e3%82%92%e3%83%ad%e3%83%bc%e3%83%b3%e3%83%81%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%9c.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

