<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>DESIRERY &#187; Development</title>
	<atom:link href="http://www.t2-designing.com/blog/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.t2-designing.com/blog</link>
	<description></description>
	<lastBuildDate>Sun, 05 Sep 2010 07:12:45 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/tag/development/feed/" />
		<item>
		<title>jQuery Plugin hovtive 2.1</title>
		<link>http://www.t2-designing.com/blog/2010/08/31/450/</link>
		<comments>http://www.t2-designing.com/blog/2010/08/31/450/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 04:50:57 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/?p=450</guid>
		<description><![CDATA[jQueryプラグインのhovtiveをVersion 2.1にアップデートしました。jQuery1.4.2で動作確認しています。 hovtive-2.1.js hovtive-2.1.min.js hovtive 2.0では機能追加と改善をしています。 New: 画像のプリロード(キャッシュに先読み) Improved: メソッドをlive()へ変更 Fixed: バグフィックス hovtive 2.1では高速化とバグフィックスをしています。 Improved: eachからforへ変更 Fixed: input:[src]要素でClassを記述していなくてもhovtiveが動いてしまうバグ 2.0では楽にeachでやっていましたが気になったのでforに変更。15倍以上の速度差があったので。他jQuery CoreのContext指定の動作を勘違いしていたためのバグがあったので変更しています。 詳細は後ほど追記します。たぶん。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p>jQueryプラグインのhovtiveをVersion 2.1にアップデートしました。jQuery1.4.2で動作確認しています。</p>
<ul>
<li><a href="http://www.t2-designing.com/blog/wp-content/uploads/2010/08/hovtive-2.1.js">hovtive-2.1.js</a></li>
<li><a href="http://www.t2-designing.com/blog/wp-content/uploads/2010/08/hovtive-2.1.min_.js">hovtive-2.1.min.js</a></li>
</ul>
<p>hovtive 2.0では機能追加と改善をしています。</p>
<ol>
<li>New: 画像のプリロード(キャッシュに先読み)</li>
<li>Improved: メソッドをlive()へ変更</li>
<li>Fixed: バグフィックス</li>
</ol>
<p>hovtive 2.1では高速化とバグフィックスをしています。</p>
<ol>
<li>Improved: eachからforへ変更</li>
<li>Fixed: input:[src]要素でClassを記述していなくてもhovtiveが動いてしまうバグ</li>
</ol>
<p>2.0では楽にeachでやっていましたが気になったのでforに変更。15倍以上の速度差があったので。他jQuery CoreのContext指定の動作を勘違いしていたためのバグがあったので変更しています。</p>
<p>詳細は後ほど追記します。たぶん。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2010/08/31/450/&amp;title=jQuery+Plugin+hovtive+2.1" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2010/08/31/450/&amp;title=jQuery+Plugin+hovtive+2.1" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2010/08/31/450/&amp;t=jQuery+Plugin+hovtive+2.1" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2010/08/31/450/&amp;t=jQuery+Plugin+hovtive+2.1" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=jQuery+Plugin+hovtive+2.1+-+http://b2l.me/anbg93+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=jQuery+Plugin+hovtive+2.1&amp;link=http://www.t2-designing.com/blog/2010/08/31/450/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2010%2F08%2F31%2F450%2F&amp;t=jQuery+Plugin+hovtive+2.1" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2010/08/31/450/&amp;title=jQuery+Plugin+hovtive+2.1" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2010/08/31/450/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2010/08/31/450/" />
	</item>
		<item>
		<title>jQuery Plugin hovtive 1.1</title>
		<link>http://www.t2-designing.com/blog/2010/08/01/431/</link>
		<comments>http://www.t2-designing.com/blog/2010/08/01/431/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 18:57:39 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/?p=431</guid>
		<description><![CDATA[Mouse Over, Downで画像を入れ替えるプラグインのバグフィックス版です。 hovtive-1.1 hovtive-1.1.min 以下簡単なサンプル。 &#38;lt;!DOCTYPE HTML&#38;gt; &#38;lt;html&#38;gt; &#38;lt;head&#38;gt; &#38;lt;meta charset=&#34;utf-8&#34;&#38;gt; &#38;lt;title&#38;gt;hovtive &#124; DESIRERY&#38;lt;/title&#38;gt; &#38;lt;script type=&#34;text/javascript&#34; src=&#34;/jquery-1.4.2.min.js&#34;&#38;gt;&#38;lt;/script&#38;gt; &#38;lt;script type=&#34;text/javascript&#34; src=&#34;/hovtive-1.1.min.js&#34;&#38;gt;&#38;lt;/script&#38;gt; &#38;lt;script type=&#34;text/javascript&#34;&#38;gt; $(function() { $(&#34;.hovtive&#34;).hovtive( { flag: false, hover: '_over', active: '_down', stay: '_stay' } ); }); &#38;lt;/script&#38;gt; &#38;lt;/head&#38;gt; &#160; &#38;lt;body&#38;gt; &#38;lt;nav&#38;gt; &#38;lt;ul&#38;gt; &#38;lt;li&#38;gt;&#38;lt;a href=&#34;&#34;&#38;gt;&#38;lt;img src=&#34;/nav_01_stay.png&#34; alt=&#34;HOME&#34; width=&#34;69&#34; height=&#34;27&#34;&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt; &#38;lt;li&#38;gt;&#38;lt;a href=&#34;&#34;&#38;gt;&#38;lt;img src=&#34;/nav_02.png&#34; alt=&#34;ABOUT&#34; width=&#34;69&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Mouse Over, Downで画像を入れ替えるプラグインのバグフィックス版です。</p>
<ul>
<li><a href="http://www.t2-designing.com/blog/wp-content/uploads/2010/08/hovtive-1.1.js">hovtive-1.1</a></li>
<li><a href="http://www.t2-designing.com/blog/wp-content/uploads/2010/08/hovtive-1.1.min_.js">hovtive-1.1.min</a></li>
</ul>
<p>以下簡単なサンプル。</p>
<div class="syntax_hilite">
<div id="html-2">
<div class="html" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>!DOCTYPE HTML<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>html<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>head<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>meta charset=&quot;utf-8&quot;<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>title<span style="color: #ddbb00;">&amp;gt;</span>hovtive | DESIRERY<span style="color: #ddbb00;">&amp;lt;</span>/title<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>script type=&quot;text/javascript&quot; src=&quot;/jquery-1.4.2.min.js&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/script<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>script type=&quot;text/javascript&quot; src=&quot;/hovtive-1.1.min.js&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/script<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>script type=&quot;text/javascript&quot;<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$(function() {</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$(&quot;.hovtive&quot;).hovtive(</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">{</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">flag: false,</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">hover: '_over',</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">active: '_down',</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">stay: '_stay'</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">}</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">);</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">});</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>/script<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>/head<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>body<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>nav<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>ul<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>li<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>a href=&quot;&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>img src=&quot;/nav_01_stay.png&quot; alt=&quot;HOME&quot; width=&quot;69&quot; height=&quot;27&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/a<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/li<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>li<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>a href=&quot;&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>img src=&quot;/nav_02.png&quot; alt=&quot;ABOUT&quot; width=&quot;69&quot; height=&quot;27&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/a<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/li<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>li<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>a href=&quot;&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>img src=&quot;/nav_03.png&quot; alt=&quot;CONTACT&quot; width=&quot;69&quot; height=&quot;27&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/a<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/li<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>/ul<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>/nav<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>/body<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>/html<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>基本はaタグにClass hovtiveを追加して$(".hovtive").hovtive();な形で動かしています。1.0から1.1への変更はデフォルトのプロパティを変更しました。上記サンプルの物がデフォルトのプロパティになります。</p>
<ol>
<li>Flag(boolean):  Mouse Down EventをDisable or Enabled</li>
<li>hover: Mouse Overの画像でファイル名の末尾を指定</li>
<li>active: Mouse Downの画像でファイル名の末尾を指定</li>
<li>stay: Stay表示(HomeであればHome Buttonを表示)の画像名を指定</li>
</ol>
<p>4のStayについては_stayがファイル名末尾にあればMouse Over, DownのEventは発生しません。ナビゲーションでstay表示をimgタグでする場合ファイル名末尾に_stayといれておけばマウスイベントが起きないため画像の入れ替えはしなくなります。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2010/08/01/431/&amp;title=jQuery+Plugin+hovtive+1.1" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2010/08/01/431/&amp;title=jQuery+Plugin+hovtive+1.1" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2010/08/01/431/&amp;t=jQuery+Plugin+hovtive+1.1" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2010/08/01/431/&amp;t=jQuery+Plugin+hovtive+1.1" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=jQuery+Plugin+hovtive+1.1+-+http://b2l.me/ad2y2b+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=jQuery+Plugin+hovtive+1.1&amp;link=http://www.t2-designing.com/blog/2010/08/01/431/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2010%2F08%2F01%2F431%2F&amp;t=jQuery+Plugin+hovtive+1.1" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2010/08/01/431/&amp;title=jQuery+Plugin+hovtive+1.1" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2010/08/01/431/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2010/08/01/431/" />
	</item>
		<item>
		<title>フルフラではoutlineを</title>
		<link>http://www.t2-designing.com/blog/2009/12/18/323/</link>
		<comments>http://www.t2-designing.com/blog/2009/12/18/323/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 19:28:43 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/12/18/323/</guid>
		<description><![CDATA[FF13発売だったんですねー。PS3ないけど。外観のデザインがまた変わったら考えよう。 で、ここフルフラッシュのサイトなんですが画面をクリックでスクロールバーが出ます。たまにこういったサイトがあるんだけどFirefoxではoutlineを消さないとこういった残念なサイトになります。Firefoxは対象外ですと言われたらそれまでだけど。回避方法は下記CSSを加えるだけ。 Element &#123; outline:none; &#125; こんな簡単なのでFlashだからと言って動作確認の手を抜きすぎだろ。といった感じが拭えない。その他HTMLではナビゲーションなどfloatで横並びした際マウスダウンで落ちるとかあったりするけどそれもこれが原因。かといってリンクでoutlineを消すのは場合によって微妙なのでoverflow:hiddenではみ出したoutlineは切れる用にしておけば問題ないです。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/fullfla.jpg" rel="wp-prettyPhoto[g323]"><img class="alignnone size-medium wp-image-322" title="fullfla" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/fullfla-520x325.jpg" alt="fullfla" width="520" height="325" /></a></p>
<p>FF13発売だったんですねー。PS3ないけど。外観のデザインがまた変わったら考えよう。</p>
<p>で、ここフルフラッシュのサイトなんですが画面をクリックでスクロールバーが出ます。たまにこういったサイトがあるんだけどFirefoxではoutlineを消さないとこういった残念なサイトになります。Firefoxは対象外ですと言われたらそれまでだけど。回避方法は下記CSSを加えるだけ。</p>
<div class="syntax_hilite">
<div id="css-4">
<div class="css" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">Element <span style="color: #00AA00;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000000; font-weight: bold;">outline</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #00AA00;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>こんな簡単なのでFlashだからと言って動作確認の手を抜きすぎだろ。といった感じが拭えない。その他HTMLではナビゲーションなどfloatで横並びした際マウスダウンで落ちるとかあったりするけどそれもこれが原因。かといってリンクでoutlineを消すのは場合によって微妙なのでoverflow:hiddenではみ出したoutlineは切れる用にしておけば問題ないです。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/12/18/323/&amp;title=%E3%83%95%E3%83%AB%E3%83%95%E3%83%A9%E3%81%A7%E3%81%AFoutline%E3%82%92" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/12/18/323/&amp;title=%E3%83%95%E3%83%AB%E3%83%95%E3%83%A9%E3%81%A7%E3%81%AFoutline%E3%82%92" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/12/18/323/&amp;t=%E3%83%95%E3%83%AB%E3%83%95%E3%83%A9%E3%81%A7%E3%81%AFoutline%E3%82%92" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/12/18/323/&amp;t=%E3%83%95%E3%83%AB%E3%83%95%E3%83%A9%E3%81%A7%E3%81%AFoutline%E3%82%92" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=%E3%83%95%E3%83%AB%E3%83%95%E3%83%A9%E3%81%A7%E3%81%AFoutline%E3%82%92+-+http://b2l.me/b5s4t+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=%E3%83%95%E3%83%AB%E3%83%95%E3%83%A9%E3%81%A7%E3%81%AFoutline%E3%82%92&amp;link=http://www.t2-designing.com/blog/2009/12/18/323/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F12%2F18%2F323%2F&amp;t=%E3%83%95%E3%83%AB%E3%83%95%E3%83%A9%E3%81%A7%E3%81%AFoutline%E3%82%92" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/12/18/323/&amp;title=%E3%83%95%E3%83%AB%E3%83%95%E3%83%A9%E3%81%A7%E3%81%AFoutline%E3%82%92" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/12/18/323/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/12/18/323/" />
	</item>
		<item>
		<title>jQuery Twitterプラグイン</title>
		<link>http://www.t2-designing.com/blog/2009/12/16/319/</link>
		<comments>http://www.t2-designing.com/blog/2009/12/16/319/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 14:58:28 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/12/16/319/</guid>
		<description><![CDATA[tweenelをブログに貼りつけてみた。これはTwitterのAPIを使ってタイムラインを表示するもの。今のところ任意の1ユーザーだけを取得。Twitter自体軽いコンテンツなのでわざわざエリアを作って貼り付ける程でもないかなーということでレイヤー化して今のスペースを壊さない仕様。 今のところアルファ版な位置づけなのでIE対応もしていないです。対応したとしても他のブラウザとは分けると思います。アルファなし、アニメーションもなし。PNGおかしい上に遅いんで多分いろいろ無理。 ベータ版は今年できたらいいなーな感じでゆっくりゆっくり。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/tweenelalpha.jpg" rel="wp-prettyPhoto[g319]"><img class="alignnone size-medium wp-image-318" title="tweenelalpha" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/tweenelalpha-520x292.jpg" alt="tweenelalpha" width="520" height="292" /></a></p>
<p>tweenelをブログに貼りつけてみた。これはTwitterのAPIを使ってタイムラインを表示するもの。今のところ任意の1ユーザーだけを取得。Twitter自体軽いコンテンツなのでわざわざエリアを作って貼り付ける程でもないかなーということでレイヤー化して今のスペースを壊さない仕様。</p>
<p>今のところアルファ版な位置づけなのでIE対応もしていないです。対応したとしても他のブラウザとは分けると思います。アルファなし、アニメーションもなし。PNGおかしい上に遅いんで多分いろいろ無理。</p>
<p>ベータ版は今年できたらいいなーな感じでゆっくりゆっくり。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/12/16/319/&amp;title=jQuery+Twitter%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/12/16/319/&amp;title=jQuery+Twitter%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/12/16/319/&amp;t=jQuery+Twitter%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/12/16/319/&amp;t=jQuery+Twitter%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=jQuery+Twitter%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3+-+http://b2l.me/b5s4u+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=jQuery+Twitter%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3&amp;link=http://www.t2-designing.com/blog/2009/12/16/319/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F12%2F16%2F319%2F&amp;t=jQuery+Twitter%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/12/16/319/&amp;title=jQuery+Twitter%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/12/16/319/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/12/16/319/" />
	</item>
		<item>
		<title>Twitter JSONデータ</title>
		<link>http://www.t2-designing.com/blog/2009/12/16/317/</link>
		<comments>http://www.t2-designing.com/blog/2009/12/16/317/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 16:12:07 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/12/16/317/</guid>
		<description><![CDATA[TwitterのAPIへユーザタイムラインを要求した場合の戻り。ブラウザでアクセスすると改行がなく見にくかったんで載せときます。JSONは非常にシンプルでXMLより好感が持てますね。 フォーマットJSON、パラメータはscreen_name(Optional)指定とcount(Optional)を1にした場合。 &#91; &#123; &#34;favorited&#34;:false, &#34;geo&#34;:null, &#34;in_reply_to_user_id&#34;:null, &#34;in_reply_to_status_id&#34;:null, &#34;in_reply_to_screen_name&#34;:null, &#34;source&#34;:&#34;&#38;lt;a href=\&#34;http://www.tweetdeck.com/\&#34; rel=\&#34;nofollow\&#34;&#38;gt;TweetDeck&#38;lt;/a&#38;gt;&#34;, &#34;user&#34;: &#123; &#34;profile_background_tile&#34;:false, &#34;description&#34;:&#34;= [ me:'Designer', career:'Geek', tweet:'Banzaaaaai!' ]&#34;, &#34;statuses_count&#34;:87, &#34;profile_background_color&#34;:&#34;DBE9ED&#34;, &#34;followers_count&#34;:19, &#34;geo_enabled&#34;:true, &#34;profile_sidebar_fill_color&#34;:&#34;E6F6F9&#34;, &#34;following&#34;:false, &#34;friends_count&#34;:11, &#34;time_zone&#34;:&#34;Tokyo&#34;, &#34;profile_sidebar_border_color&#34;:&#34;DBE9ED&#34;, &#34;notifications&#34;:false, &#34;favourites_count&#34;:0, &#34;protected&#34;:false, &#34;url&#34;:&#34;http://www.t2-designing.com/&#34;, &#34;verified&#34;:false, &#34;profile_text_color&#34;:&#34;333333&#34;, &#34;profile_image_url&#34;:&#34;http://a3.twimg.com/profile_images/557330395/tw_normal.jpg&#34;, &#34;location&#34;:&#34;Tokyo, Japan&#34;, &#34;name&#34;:&#34;Toyotter&#34;, &#34;profile_background_image_url&#34;:&#34;http://s.twimg.com/a/1260393960/images/themes/theme17/bg.gif&#34;, &#34;id&#34;:4977961, &#34;utc_offset&#34;:32400, &#34;created_at&#34;:&#34;Tue Apr 17 09:58:14 +0000 2007&#34;, &#34;profile_link_color&#34;:&#34;CC3366&#34;, &#34;screen_name&#34;:&#34;Toyotter&#34; &#125;, &#34;truncated&#34;:false, &#34;id&#34;:6627064652, &#34;text&#34;:&#34;\u304d\u3063\u3061\u308a\u30b0\u30ea\u30c3\u30c9\u3002effect\u306e\u4e92\u63db\u6027\u3092\u6301\u305f\u305b\u3066\u307b\u3057\u3044\u306a\u30fc\u3002JavaScript\u306e\u77e5\u8b58\u304c\u5f31\u3044\u30c7\u30b6\u30a4\u30ca\u306f\u3053\u306e\u8fba\u4e00\u756a\u89e6\u308b\u3060\u308d\u3046\u3057\u3002 [...]]]></description>
			<content:encoded><![CDATA[<p>TwitterのAPIへユーザタイムラインを要求した場合の戻り。ブラウザでアクセスすると改行がなく見にくかったんで載せときます。JSONは非常にシンプルでXMLより好感が持てますね。</p>
<p>フォーマットJSON、パラメータはscreen_name(Optional)指定とcount(Optional)を1にした場合。</p>
<div class="syntax_hilite">
<div id="javascript-6">
<div class="javascript" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#91;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;favorited&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;geo&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;in_reply_to_user_id&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;in_reply_to_status_id&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;in_reply_to_screen_name&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">null</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;source&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;&amp;lt;a href=<span style="color: #000099; font-weight: bold;">\&quot;</span>http://www.tweetdeck.com/<span style="color: #000099; font-weight: bold;">\&quot;</span> rel=<span style="color: #000099; font-weight: bold;">\&quot;</span>nofollow<span style="color: #000099; font-weight: bold;">\&quot;</span>&amp;gt;TweetDeck&amp;lt;/a&amp;gt;&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;user&quot;</span><span style="color: #339933;">:</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;profile_background_tile&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;description&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;= [ me:'Designer',</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">career:'Geek',</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">tweet:'Banzaaaaai!' ]&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;statuses_count&quot;</span><span style="color: #339933;">:</span><span style="color: #CC0000;color:#800000;">87</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;profile_background_color&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;DBE9ED&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;followers_count&quot;</span><span style="color: #339933;">:</span><span style="color: #CC0000;color:#800000;">19</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;geo_enabled&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;profile_sidebar_fill_color&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;E6F6F9&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;following&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;friends_count&quot;</span><span style="color: #339933;">:</span><span style="color: #CC0000;color:#800000;">11</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;time_zone&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Tokyo&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;profile_sidebar_border_color&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;DBE9ED&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;notifications&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;favourites_count&quot;</span><span style="color: #339933;">:</span><span style="color: #CC0000;color:#800000;">0</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;protected&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;url&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;http://www.t2-designing.com/&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;verified&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;profile_text_color&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;333333&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;profile_image_url&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;http://a3.twimg.com/profile_images/557330395/tw_normal.jpg&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;location&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Tokyo,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">Japan&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Toyotter&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;profile_background_image_url&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;http://s.twimg.com/a/1260393960/images/themes/theme17/bg.gif&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;id&quot;</span><span style="color: #339933;">:</span><span style="color: #CC0000;color:#800000;">4977961</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;utc_offset&quot;</span><span style="color: #339933;">:</span><span style="color: #CC0000;color:#800000;">32400</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;created_at&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Tue Apr 17 09:58:14 +0000 2007&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;profile_link_color&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;CC3366&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;screen_name&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Toyotter&quot;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;truncated&quot;</span><span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;id&quot;</span><span style="color: #339933;">:</span><span style="color: #CC0000;color:#800000;">6627064652</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;text&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;<span style="color: #000099; font-weight: bold;">\u</span>304d<span style="color: #000099; font-weight: bold;">\u</span>3063<span style="color: #000099; font-weight: bold;">\u</span>3061<span style="color: #000099; font-weight: bold;">\u</span>308a<span style="color: #000099; font-weight: bold;">\u</span>30b0<span style="color: #000099; font-weight: bold;">\u</span>30ea<span style="color: #000099; font-weight: bold;">\u</span>30c3<span style="color: #000099; font-weight: bold;">\u</span>30c9<span style="color: #000099; font-weight: bold;">\u</span>3002effect<span style="color: #000099; font-weight: bold;">\u</span>306e<span style="color: #000099; font-weight: bold;">\u</span>4e92<span style="color: #000099; font-weight: bold;">\u</span>63db<span style="color: #000099; font-weight: bold;">\u</span>6027<span style="color: #000099; font-weight: bold;">\u</span>3092<span style="color: #000099; font-weight: bold;">\u</span>6301<span style="color: #000099; font-weight: bold;">\u</span>305f<span style="color: #000099; font-weight: bold;">\u</span>305b<span style="color: #000099; font-weight: bold;">\u</span>3066<span style="color: #000099; font-weight: bold;">\u</span>307b<span style="color: #000099; font-weight: bold;">\u</span>3057<span style="color: #000099; font-weight: bold;">\u</span>3044<span style="color: #000099; font-weight: bold;">\u</span>306a<span style="color: #000099; font-weight: bold;">\u</span>30fc<span style="color: #000099; font-weight: bold;">\u</span>3002JavaScript<span style="color: #000099; font-weight: bold;">\u</span>306e<span style="color: #000099; font-weight: bold;">\u</span>77e5<span style="color: #000099; font-weight: bold;">\u</span>8b58<span style="color: #000099; font-weight: bold;">\u</span>304c<span style="color: #000099; font-weight: bold;">\u</span>5f31<span style="color: #000099; font-weight: bold;">\u</span>3044<span style="color: #000099; font-weight: bold;">\u</span>30c7<span style="color: #000099; font-weight: bold;">\u</span>30b6<span style="color: #000099; font-weight: bold;">\u</span>30a4<span style="color: #000099; font-weight: bold;">\u</span>30ca<span style="color: #000099; font-weight: bold;">\u</span>306f<span style="color: #000099; font-weight: bold;">\u</span>3053<span style="color: #000099; font-weight: bold;">\u</span>306e<span style="color: #000099; font-weight: bold;">\u</span>8fba<span style="color: #000099; font-weight: bold;">\u</span>4e00<span style="color: #000099; font-weight: bold;">\u</span>756a<span style="color: #000099; font-weight: bold;">\u</span>89e6<span style="color: #000099; font-weight: bold;">\u</span>308b<span style="color: #000099; font-weight: bold;">\u</span>3060<span style="color: #000099; font-weight: bold;">\u</span>308d<span style="color: #000099; font-weight: bold;">\u</span>3046<span style="color: #000099; font-weight: bold;">\u</span>3057<span style="color: #000099; font-weight: bold;">\u</span>3002 http://tweetphoto.com/6356109&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #3366CC;">&quot;created_at&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;Sun Dec 13 11:43:47 +0000 2009&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#93;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>リンクは勝手にやってねってことっすね。リンクは実装する人がやらないといけないのでURLをPOSTする際は半角スペースなどを入れ区切るのが無難です。それと時間はローカル時間に変換が無難そう。それぞれの時間と見る人のローカル時間並べたいなーってのはアプリ使ってて思うんだけどネタはtime_zoneしかなさそう。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/12/16/317/&amp;title=Twitter+JSON%E3%83%87%E3%83%BC%E3%82%BF" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/12/16/317/&amp;title=Twitter+JSON%E3%83%87%E3%83%BC%E3%82%BF" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/12/16/317/&amp;t=Twitter+JSON%E3%83%87%E3%83%BC%E3%82%BF" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/12/16/317/&amp;t=Twitter+JSON%E3%83%87%E3%83%BC%E3%82%BF" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Twitter+JSON%E3%83%87%E3%83%BC%E3%82%BF+-+http://b2l.me/b5s4v+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Twitter+JSON%E3%83%87%E3%83%BC%E3%82%BF&amp;link=http://www.t2-designing.com/blog/2009/12/16/317/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F12%2F16%2F317%2F&amp;t=Twitter+JSON%E3%83%87%E3%83%BC%E3%82%BF" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/12/16/317/&amp;title=Twitter+JSON%E3%83%87%E3%83%BC%E3%82%BF" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/12/16/317/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/12/16/317/" />
	</item>
		<item>
		<title>Dreamweaver 環境設定</title>
		<link>http://www.t2-designing.com/blog/2009/12/07/306/</link>
		<comments>http://www.t2-designing.com/blog/2009/12/07/306/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 14:08:52 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/12/07/306/</guid>
		<description><![CDATA[Dreamweaverの環境設定について。文字コードについて数年ボケていたようでメモ。 ファイルを開いた際metaタグがない場合SJISで開くのが鬱陶しいなーとかどっかのXML書き換えないとだめかなーとか思ってたら新規ドキュメントの「エンコーディングが指定されていない既存ファイルを開くときに使用」のチェックを外すだけでした。 また、MacであればApple Developer Connectionに登録済の場合Xcodeが手に入るのでFileMergeを比較ツールとして使えます。日本語環境には微妙だけど結構使えます。あとはMAMPでMySQLはunicodeに決め打ち。MySQLの設定だけが悪いんだよねこれ。 開発環境「Xcode Tools」付属の差分表示ツール「FileMerge」をUTF-8対応に その他ファイルタイプも設定してます。コードビューで開くにはhtaccessとhtpasswdは入れときます。それに画像についてはビューアを指定。できるだけDreamweaverから離れなくていい環境にしておくと楽。大体そんな感じであとはヒストリーを増やしてるぐらい。Dreamweaverは文字数が多いファイルとFTPが速ければもっといいんだけど。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p>Dreamweaverの環境設定について。文字コードについて数年ボケていたようでメモ。</p>
<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/dwcs3document.png" rel="wp-prettyPhoto[g306]"><img class="alignnone size-medium wp-image-304" title="dwcs3document" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/dwcs3document-520x355.png" alt="dwcs3document" width="520" height="355" /></a></p>
<p>ファイルを開いた際metaタグがない場合SJISで開くのが鬱陶しいなーとかどっかのXML書き換えないとだめかなーとか思ってたら新規ドキュメントの「エンコーディングが指定されていない既存ファイルを開くときに使用」のチェックを外すだけでした。</p>
<p>また、MacであればApple Developer Connectionに登録済の場合Xcodeが手に入るのでFileMergeを比較ツールとして使えます。日本語環境には微妙だけど結構使えます。あとはMAMPでMySQLはunicodeに決め打ち。MySQLの設定だけが悪いんだよねこれ。</p>
<p><a href="http://builder.japan.zdnet.com/sp/snow-leopard-09/story/0,3800100196,20404333,00.htm">開発環境「Xcode Tools」付属の差分表示ツール「FileMerge」をUTF-8対応に</a></p>
<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/dwcs3edit.png" rel="wp-prettyPhoto[g306]"><img class="alignnone size-medium wp-image-305" title="dwcs3edit" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/12/dwcs3edit-520x355.png" alt="dwcs3edit" width="520" height="355" /></a></p>
<p>その他ファイルタイプも設定してます。コードビューで開くにはhtaccessとhtpasswdは入れときます。それに画像についてはビューアを指定。できるだけDreamweaverから離れなくていい環境にしておくと楽。大体そんな感じであとはヒストリーを増やしてるぐらい。Dreamweaverは文字数が多いファイルとFTPが速ければもっといいんだけど。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/12/07/306/&amp;title=Dreamweaver+%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/12/07/306/&amp;title=Dreamweaver+%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/12/07/306/&amp;t=Dreamweaver+%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/12/07/306/&amp;t=Dreamweaver+%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Dreamweaver+%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A+-+http://b2l.me/b5pmv+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Dreamweaver+%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A&amp;link=http://www.t2-designing.com/blog/2009/12/07/306/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F12%2F07%2F306%2F&amp;t=Dreamweaver+%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/12/07/306/&amp;title=Dreamweaver+%E7%92%B0%E5%A2%83%E8%A8%AD%E5%AE%9A" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/12/07/306/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/12/07/306/" />
	</item>
		<item>
		<title>jQuery 複数画像のローディング</title>
		<link>http://www.t2-designing.com/blog/2009/11/20/280/</link>
		<comments>http://www.t2-designing.com/blog/2009/11/20/280/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 10:32:18 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/11/20/280/</guid>
		<description><![CDATA[JavaScriptで複数画像を読み込む際のローディング処理。全て読み込んでからエフェクトをかけたい場合などで使えます。 ライブラリはいつもどおりjQuery 1.3.2。やり方は単純にloadを使います。1枚画像であればimgタグにonloadが手軽。 下記ソースはeach内で呼び出している関数。XMLを読み込んでループ処理という流れ。 function loadHandler&#40;obj&#41; &#123; var li = d.createElement&#40;&#34;li&#34;&#41;; var img = d.createElement&#40;&#34;img&#34;&#41;; $&#40;img&#41;.attr&#40;&#123;&#34;src&#34;: obj.find&#40;&#34;src&#34;&#41;.text&#40;&#41;, &#34;class&#34;:&#34;reflect rheight10 ropacity40&#34;&#125;&#41;; $&#40;li&#41;.append&#40;img&#41;; $&#40;&#34;#container&#38;gt; ul&#34;&#41;.append&#40;li&#41;; $&#40;&#34;#container&#38;gt; ul&#34;&#41;.css&#40;&#34;display&#34;, &#34;none&#34;&#41;; $&#40;img&#41;.load&#40; function&#40;&#41; &#123; if&#40;$&#40;&#34;#container&#38;gt; ul&#34;&#41;.get&#40;0&#41;.count-- == 1&#41; rendering&#40;&#41;; &#125; &#41;; &#125; XML読み込み lengthをul Elementのcountというプロパティに挿入 eachでloadHandler()呼び出し DOM Elementの準備とimg要素にloadを追加 画像を読み込んだならul Elementのcountをデクリメント countと読み込み完了の回数がそろったら読み込み終了フラグキター rendering()呼び出して描画 n/nを読み込みました的なローディングはこれで完了。あとはローディング中や読み込み完了後のデザインを当て込むだけ。 Share this on del.icio.us Add this to [...]]]></description>
			<content:encoded><![CDATA[<p>JavaScriptで複数画像を読み込む際のローディング処理。全て読み込んでからエフェクトをかけたい場合などで使えます。</p>
<p>ライブラリはいつもどおりjQuery 1.3.2。やり方は単純にloadを使います。1枚画像であればimgタグにonloadが手軽。</p>
<p>下記ソースはeach内で呼び出している関数。XMLを読み込んでループ処理という流れ。</p>
<div class="syntax_hilite">
<div id="javascript-8">
<div class="javascript" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">function</span> loadHandler<span style="color: #009900;">&#40;</span>obj<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">var</span> li <span style="color: #339933;">=</span> d.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">var</span> img <span style="color: #339933;">=</span> d.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;img&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span>img<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><span style="color: #3366CC;">&quot;src&quot;</span><span style="color: #339933;">:</span> obj.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;src&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">text</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;class&quot;</span><span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;reflect rheight10 ropacity40&quot;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span>li<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>img<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#container&amp;gt; ul&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>li<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#container&amp;gt; ul&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;display&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;none&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span>img<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">load</span><span style="color: #009900;">&#40;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#container&amp;gt; ul&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span>0<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">count</span><span style="color: #339933;">--</span> <span style="color: #339933;">==</span> 1<span style="color: #009900;">&#41;</span> rendering<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<ol>
<li>XML読み込み</li>
<li>lengthをul Elementのcountというプロパティに挿入</li>
<li>eachでloadHandler()呼び出し</li>
<li>DOM Elementの準備とimg要素にloadを追加</li>
<li>画像を読み込んだならul Elementのcountをデクリメント</li>
<li>countと読み込み完了の回数がそろったら読み込み終了フラグキター</li>
<li>rendering()呼び出して描画</li>
</ol>
<p>n/nを読み込みました的なローディングはこれで完了。あとはローディング中や読み込み完了後のデザインを当て込むだけ。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/11/20/280/&amp;title=jQuery+%E8%A4%87%E6%95%B0%E7%94%BB%E5%83%8F%E3%81%AE%E3%83%AD%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/11/20/280/&amp;title=jQuery+%E8%A4%87%E6%95%B0%E7%94%BB%E5%83%8F%E3%81%AE%E3%83%AD%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/11/20/280/&amp;t=jQuery+%E8%A4%87%E6%95%B0%E7%94%BB%E5%83%8F%E3%81%AE%E3%83%AD%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/11/20/280/&amp;t=jQuery+%E8%A4%87%E6%95%B0%E7%94%BB%E5%83%8F%E3%81%AE%E3%83%AD%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=jQuery+%E8%A4%87%E6%95%B0%E7%94%BB%E5%83%8F%E3%81%AE%E3%83%AD%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0+-+http://b2l.me/b6jpc+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=jQuery+%E8%A4%87%E6%95%B0%E7%94%BB%E5%83%8F%E3%81%AE%E3%83%AD%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0&amp;link=http://www.t2-designing.com/blog/2009/11/20/280/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F11%2F20%2F280%2F&amp;t=jQuery+%E8%A4%87%E6%95%B0%E7%94%BB%E5%83%8F%E3%81%AE%E3%83%AD%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/11/20/280/&amp;title=jQuery+%E8%A4%87%E6%95%B0%E7%94%BB%E5%83%8F%E3%81%AE%E3%83%AD%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/11/20/280/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/11/20/280/" />
	</item>
		<item>
		<title>jQuery 何番目かを取得</title>
		<link>http://www.t2-designing.com/blog/2009/11/16/274/</link>
		<comments>http://www.t2-designing.com/blog/2009/11/16/274/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 10:09:36 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/11/16/274/</guid>
		<description><![CDATA[10分ほどはまりかけたのでメモ。jQueryでクリックしたのは何番目か取得する。 &#38;lt;ul id=&#34;id&#34;&#38;gt; &#38;lt;li&#38;gt;&#38;lt;a href=&#34;#&#34;&#38;gt;&#38;lt;img &#160;src=&#34;&#34; alt=&#34;&#34; width=&#34;140&#34; height=&#34;88&#34; /&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt; &#38;lt;li&#38;gt;&#38;lt;a href=&#34;#&#34;&#38;gt;&#38;lt;img src=&#34;&#34; alt=&#34;&#34; width=&#34;140&#34; &#160;height=&#34;88&#34; /&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt; &#38;lt;li&#38;gt;&#38;lt;a &#160;href=&#34;#&#34;&#38;gt;&#38;lt;img src=&#34;&#34; alt=&#34;&#34; width=&#34;140&#34; height=&#34;88&#34; &#160;/&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/li&#38;gt; &#38;lt;/ul&#38;gt; function list&#40;obj&#41; &#123; $&#40;&#34;a&#34;&#41;.click&#40; function&#40;&#41; &#123; var dom = $&#40;this&#41;.parent&#40;&#41;.parent&#40;&#41;; var id = dom.get&#40;0&#41;.id; var index = dom.children&#40;&#41;.index&#40;$&#40;this&#41;.parent&#40;&#41;&#41;; $&#40;obj&#41;.find&#40;&#34;cat#&#34;+id+&#34; items:eq(&#34;+index+&#34;)&#34;&#41;.children&#40;&#41;.each&#40; function&#40;&#41; &#123; alert&#40;$&#40;this&#41;.text&#40;&#41;&#41;; &#125; &#41;; &#160; return false; &#125; &#41;; [...]]]></description>
			<content:encoded><![CDATA[<p>10分ほどはまりかけたのでメモ。jQueryでクリックしたのは何番目か取得する。</p>
<div class="syntax_hilite">
<div id="html-11">
<div class="html" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>ul id=&quot;id&quot;<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>li<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>a href=&quot;#&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>img &nbsp;src=&quot;&quot; alt=&quot;&quot; width=&quot;140&quot; height=&quot;88&quot; /<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/a<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/li<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>li<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>a href=&quot;#&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>img src=&quot;&quot; alt=&quot;&quot; width=&quot;140&quot; &nbsp;height=&quot;88&quot; /<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/a<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/li<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>li<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>a &nbsp;href=&quot;#&quot;<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>img src=&quot;&quot; alt=&quot;&quot; width=&quot;140&quot; height=&quot;88&quot; &nbsp;/<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/a<span style="color: #ddbb00;">&amp;gt;&amp;lt;</span>/li<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #ddbb00;">&amp;lt;</span>/ul<span style="color: #ddbb00;">&amp;gt;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="syntax_hilite">
<div id="javascript-12">
<div class="javascript" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">function</span> list<span style="color: #009900;">&#40;</span>obj<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;a&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">var</span> dom <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">var</span> id <span style="color: #339933;">=</span> dom.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span>0<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">id</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">var</span> index <span style="color: #339933;">=</span> dom.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">index</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span>obj<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">find</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;cat#&quot;</span><span style="color: #339933;">+</span>id<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot; items:eq(&quot;</span><span style="color: #339933;">+</span>index<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;)&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">children</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">text</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>aタグにイベントを設定することが多いのでそのやり方でn番目を取得。変数indexへ値を入れているメソッドがそれになります。</p>
<ol>
<li>aタグ(this)からparent()2回でulを選択</li>
<li>ulにchildren()でulの子要素liを選択</li>
<li>liへindex()を使いn番目取得</li>
<li>index()の引数にはaタグ(this)にparent()を使いthisの親要素liを選択</li>
<li>var indexに0を基準にn番目の値が入る</li>
</ol>
<p>thisを基準に相対パスで指定している感じです。CSSでもこれがほんとほしい。基本上からだけ。下から上ができないっていうのは条件分岐的なことができるCSS 3であってもやっぱり不便。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/11/16/274/&amp;title=jQuery+%E4%BD%95%E7%95%AA%E7%9B%AE%E3%81%8B%E3%82%92%E5%8F%96%E5%BE%97" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/11/16/274/&amp;title=jQuery+%E4%BD%95%E7%95%AA%E7%9B%AE%E3%81%8B%E3%82%92%E5%8F%96%E5%BE%97" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/11/16/274/&amp;t=jQuery+%E4%BD%95%E7%95%AA%E7%9B%AE%E3%81%8B%E3%82%92%E5%8F%96%E5%BE%97" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/11/16/274/&amp;t=jQuery+%E4%BD%95%E7%95%AA%E7%9B%AE%E3%81%8B%E3%82%92%E5%8F%96%E5%BE%97" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=jQuery+%E4%BD%95%E7%95%AA%E7%9B%AE%E3%81%8B%E3%82%92%E5%8F%96%E5%BE%97+-+http://b2l.me/b58h7+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=jQuery+%E4%BD%95%E7%95%AA%E7%9B%AE%E3%81%8B%E3%82%92%E5%8F%96%E5%BE%97&amp;link=http://www.t2-designing.com/blog/2009/11/16/274/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F11%2F16%2F274%2F&amp;t=jQuery+%E4%BD%95%E7%95%AA%E7%9B%AE%E3%81%8B%E3%82%92%E5%8F%96%E5%BE%97" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/11/16/274/&amp;title=jQuery+%E4%BD%95%E7%95%AA%E7%9B%AE%E3%81%8B%E3%82%92%E5%8F%96%E5%BE%97" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/11/16/274/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/11/16/274/" />
	</item>
		<item>
		<title>jQuery Plugin Hovtive</title>
		<link>http://www.t2-designing.com/blog/2009/11/15/273/</link>
		<comments>http://www.t2-designing.com/blog/2009/11/15/273/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 11:40:45 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/11/15/273/</guid>
		<description><![CDATA[hovtive jQuery用のプラグイン、Hovtiveをアップしました。手っ取り早くてきとーに作っていたところ使いまわしたくなったのでプラグインに変更。たいした物でもなく使い道も限られてるのでソースは特に詰めてないです。 このプラグインではロールオーバーの画像処理をします。CSSで言うhoverとactiveの両方に対応。使い方は下記ソースコード参照。 //default $&#40;d&#41;.ready&#40;function&#40;&#41;&#123; $&#40;&#34;.hovtive&#34;&#41;.hovtive&#40;&#41;; &#125;&#41;; &#160; //custom $&#40;d&#41;.ready&#40;function&#40;&#41;&#123; $&#40;&#34;.hovtive&#34;&#41;.hovtive&#40; &#123; flag: false, hover: &#34;_over&#34;, active: &#34;_down&#34; &#125; &#41;; &#125;&#41;; &#160; /* デフォルトの設定 flag : true (activeを使わないならfalse) hover : &#34;_hover&#34; (hoverのファイル名末尾) active &#160;: &#34;_active&#34; (activeのファイル名末尾) &#160; hover activeのファイル名末尾には区切り文字としてアンダーバーと[a-z]の文字が使用できます。 Ex) $(&#34;.hovtive&#34;).hovtive({hover: &#34;_over&#34;,active: &#34;_down&#34;}); ・ファイル名 nav_01_over.png nav_01_down.png */ HTML側ではaタグにclass名「hovtive」を付けて完了。画像のプリロードについては下記リンク先の方法でさっくりできます。 Preloading Images with jQuery Share this on [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/11/hovtive.png" rel="wp-prettyPhoto[g273]"><img class="alignnone size-medium wp-image-271" title="hovtive" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/11/hovtive-520x292.png" alt="hovtive" width="520" height="292" /></a></p>
<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/11/hovtive.js">hovtive</a></p>
<p>jQuery用のプラグイン、Hovtiveをアップしました。手っ取り早くてきとーに作っていたところ使いまわしたくなったのでプラグインに変更。たいした物でもなく使い道も限られてるのでソースは特に詰めてないです。</p>
<p>このプラグインではロールオーバーの画像処理をします。CSSで言うhoverとactiveの両方に対応。使い方は下記ソースコード参照。</p>
<div class="syntax_hilite">
<div id="javascript-14">
<div class="javascript" style="font-family:monospace;">
<ol>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">//default</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.hovtive&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hovtive</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">//custom</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span>d<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.hovtive&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hovtive</span><span style="color: #009900;">&#40;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#123;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">flag<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">hover<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;_over&quot;</span><span style="color: #339933;">,</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">active<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;_down&quot;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">/*</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">デフォルトの設定</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">flag : true (activeを使わないならfalse)</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">hover : &quot;_hover&quot; (hoverのファイル名末尾)</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">active &nbsp;: &quot;_active&quot; (activeのファイル名末尾)</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">hover activeのファイル名末尾には区切り文字としてアンダーバーと[a-z]の文字が使用できます。</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">Ex)</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">$(&quot;.hovtive&quot;).hovtive({hover: &quot;_over&quot;,active: &quot;_down&quot;});</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">・ファイル名</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">nav_01_over.png</span></div>
</li>
<li style="font-weight: bold; vertical-align:top;color:#26536A;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">nav_01_down.png</span></div>
</li>
<li style="font-weight: normal; vertical-align:top;color:#3A6A8B;">
<div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #006600; font-style: italic;">*/</span></div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>HTML側ではaタグにclass名「hovtive」を付けて完了。画像のプリロードについては下記リンク先の方法でさっくりできます。</p>
<p><a href="http://www.mattfarina.com/2007/02/01/preloading_images_with_jquery">Preloading Images with jQuery</a></p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/11/15/273/&amp;title=jQuery+Plugin+Hovtive" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/11/15/273/&amp;title=jQuery+Plugin+Hovtive" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/11/15/273/&amp;t=jQuery+Plugin+Hovtive" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/11/15/273/&amp;t=jQuery+Plugin+Hovtive" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=jQuery+Plugin+Hovtive+-+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://www.shareaholic.com/pages/maintenanceapi.php?alias=&amp;url=http://www.t2-designing.com/blog/2009/11/15/273/">here</a>.</p>
</body></html>+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=jQuery+Plugin+Hovtive&amp;link=http://www.t2-designing.com/blog/2009/11/15/273/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F11%2F15%2F273%2F&amp;t=jQuery+Plugin+Hovtive" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/11/15/273/&amp;title=jQuery+Plugin+Hovtive" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/11/15/273/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/11/15/273/" />
	</item>
		<item>
		<title>Google Closure</title>
		<link>http://www.t2-designing.com/blog/2009/11/06/265/</link>
		<comments>http://www.t2-designing.com/blog/2009/11/06/265/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 12:50:14 +0000</pubDate>
		<dc:creator>Toyoshima</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.t2-designing.com/blog/2009/11/06/265/</guid>
		<description><![CDATA[GoogleｇがJavaScript開発ツールClosureを公開。JavaScriptはデザイナーであっても軽くは触れないと話にもならないわけでデザイナー視点で触ってみた。 Closure Closureにはいくつかツールがあるけれども触るとしたらClosure Compilerになるかなと思います。JSの圧縮のほか警告やエラーなども出力してくれる。さらにjQueryやExt、Prototypeなど主要ライブラリも追加できる。これらがブラウザ上で扱えるのですごく手軽。そのほか最適化、フォーマットの項目はデフォルトで問題ないと思います。 そのほかのツールはClosure LibraryとClosure Templates。Libraryは必要に応じて、Templatesはデザイナーでは触ることはないかなーと思います。 Share this on del.icio.us Add this to Google Bookmarks Share this on Facebook Post this to MySpace Tweet This! Share this on FriendFeed Share this on Tumblr Digg this!]]></description>
			<content:encoded><![CDATA[<p>GoogleｇがJavaScript開発ツールClosureを公開。JavaScriptはデザイナーであっても軽くは触れないと話にもならないわけでデザイナー視点で触ってみた。</p>
<p><a href="http://code.google.com/closure/">Closure</a></p>
<p><a href="http://www.t2-designing.com/blog/wp-content/uploads/2009/11/Closure-Compiler-Service.png" rel="wp-prettyPhoto[g265]"><img class="alignnone size-medium wp-image-264" title="Closure-Compiler-Service" src="http://www.t2-designing.com/blog/wp-content/uploads/2009/11/Closure-Compiler-Service-520x449.png" alt="Closure-Compiler-Service" width="520" height="449" /></a></p>
<p>Closureにはいくつかツールがあるけれども触るとしたらClosure Compilerになるかなと思います。JSの圧縮のほか警告やエラーなども出力してくれる。さらにjQueryやExt、Prototypeなど主要ライブラリも追加できる。これらがブラウザ上で扱えるのですごく手軽。そのほか最適化、フォーマットの項目はデフォルトで問題ないと思います。</p>
<p>そのほかのツールはClosure LibraryとClosure Templates。Libraryは必要に応じて、Templatesはデザイナーでは触ることはないかなーと思います。</p>


<!-- Begin SexyBookmarks Menu Code -->
<div class="sexy-bookmarks sexy-bookmarks-center">
<ul class="socials">
		<li class="sexy-delicious">
			<a href="http://del.icio.us/post?url=http://www.t2-designing.com/blog/2009/11/06/265/&amp;title=Google+Closure" rel="nofollow" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="sexy-google">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.t2-designing.com/blog/2009/11/06/265/&amp;title=Google+Closure" rel="nofollow" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="sexy-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.t2-designing.com/blog/2009/11/06/265/&amp;t=Google+Closure" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="sexy-myspace">
			<a href="http://www.myspace.com/Modules/PostTo/Pages/?u=http://www.t2-designing.com/blog/2009/11/06/265/&amp;t=Google+Closure" rel="nofollow" title="Post this to MySpace">Post this to MySpace</a>
		</li>
		<li class="sexy-twitter">
			<a href="http://twitter.com/home?status=Google+Closure+-+http://b2l.me/b68sb+(via+@Toyotter)" rel="nofollow" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="sexy-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Google+Closure&amp;link=http://www.t2-designing.com/blog/2009/11/06/265/" rel="nofollow" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="sexy-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.t2-designing.com%2Fblog%2F2009%2F11%2F06%2F265%2F&amp;t=Google+Closure" rel="nofollow" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="sexy-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.t2-designing.com/blog/2009/11/06/265/&amp;title=Google+Closure" rel="nofollow" title="Digg this!">Digg this!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
<!-- End SexyBookmarks Menu Code -->

]]></content:encoded>
			<wfw:commentRss>http://www.t2-designing.com/blog/2009/11/06/265/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://www.t2-designing.com/blog/2009/11/06/265/" />
	</item>
	</channel>
</rss>
