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

<channel>
	<title>retujyou.com どうにもならない劣情の種子を植え付けられたばかりに &#187; javascripts</title>
	<atom:link href="http://retujyou.com/tag/javascripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://retujyou.com</link>
	<description>どうにもならない劣情の種子を植え付けられたばかりに</description>
	<lastBuildDate>Tue, 31 Aug 2010 15:09:00 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>画像を鏡面反射させる jQuery プラグイン「Reflect jQuery」</title>
		<link>http://retujyou.com/2008/05/05/reflect-jquery/</link>
		<comments>http://retujyou.com/2008/05/05/reflect-jquery/#comments</comments>
		<pubDate>Sun, 04 May 2008 19:14:10 +0000</pubDate>
		<dc:creator>rui_mashita</dc:creator>
				<category><![CDATA[webデザイン]]></category>
		<category><![CDATA[javascripts]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://retujyou.com/?p=402</guid>
		<description><![CDATA[画像を鏡面反射させる jQuery プラグイン「Reflect jQuery」を導入しました。ご存知のとおり、jQuery は 様々な効果の豊富なプラグインを簡単に導入出来る、有名な javascripts ライブラリ。 [...]]]></description>
			<content:encoded><![CDATA[<p>画像を鏡面反射させる jQuery プラグイン「<a href="http://plugins.jquery.com/project/reflect" title="Reflect jQuery | jQuery Plugins">Reflect jQuery</a>」を導入しました。ご存知のとおり、jQuery は 様々な効果の豊富なプラグインを簡単に導入出来る、有名な javascripts ライブラリ。</p>
<p>Reflect jQuery は、画像が鏡や水面に写ったかのような効果を与える javascripts、<a href="http://cow.neondragon.net/stuff/reflection/" title="Reflection.js">Reflection.js</a> に変更を若干加えた jQuery の plugin です。</p>
<p>水面反射画像の例<br />
<a href="http://retujyou.com/wp-content/uploads/2008/05/reflection.jpg" class="highslide" onclick="return hs.expand(this)"><img src="http://retujyou.com/wp-content/uploads/2008/05/reflection.jpg" title="" alt="" width="341" height="158" /></a></p>
<h3>Reflect jQuery の使い方</h3>
<p>Reflect jQuery の使い方は Reflection.js とほぼ同じなので、乗り換えるのは簡単。jQuery と Reflection.js を両方使ってる方は、乗り換えた方が javascripts の処理がちょっとだけ早くなってよいかも。Reflection.js を WordPress に導入する、<a href="http://www.siuyee.com/projects/wp-wetfloor/" title="Siuyee Presents… » WP Wetfloor">WP Wetfloor</a> を使ってる方もご参考に。</p>
<p>jQuery v1.2.3 、Reflect jQuery v1.00 での導入例です。</p>
<h4>jQuery 本体の導入</h4>
<p><a href="http://jquery.com/" title="jQuery: The Write Less, Do More, JavaScript Library">jQueryのサイト</a>から、Minified版（最適版らしい）をダウンロードして&lt;head&gt;&lt;/head&gt;内に以下を記入（v1.2.3の場合）。</p>
<pre><code>&lt;script&nbsp;type=&quot;text/javascript&quot;&nbsp;src=&quot;path/to/jquery-1.2.3.min.js&quot;&gt;&lt;/script&gt;</code></pre>
<p>ここを参照するといいかも。<br />
<a href="http://semooh.jp/jquery/ref/cont/tutorial/" title="jQueryを使い始めるには - jQuery1.2.3日本語リファレンス">jQueryを使い始めるには &#8211; jQuery1.2.3日本語リファレンス</a></p>
<h4>Reflect jQuery プラグインの導入</h4>
<p>jQuery 本体を導入したら、次は Reflect プラグインの導入。</p>
<p>Reflect jQuery のダウンロードはこちら：<a href="http://plugins.jquery.com/project/reflect" title="Reflect jQuery | jQuery Plugins">Reflect jQuery | jQuery Plugins</a></p>
<p>&lt;img&nbsp;src=&quot;something.jpg&quot;&nbsp;class=&quot;reflect&nbsp;rheight30&nbsp;ropacity60&quot;&nbsp;/&gt;のように、img の class に reflect と rheight（反射した画像の高さ）、ropacity（反射した画像の透明度）を指定する Reflection.js と同じ使い方をするならば、jquery.reflect.js の18行目（v1.00）、inline: false を inline: true に変更する。</p>
<p>そして、以下を&lt;head&gt;&lt;/head&gt;内に以下を記入。</p>
<pre><code>

&lt;script&nbsp;type=&quot;text/javascript&quot;&nbsp;src=&quot;path/to/jquery.reflect.js&quot;&gt;&lt;/script&gt;
&lt;script&nbsp;type=&quot;text/javascript&quot;&gt;
$(document).ready(function()&nbsp;{
....
&nbsp;&nbsp;&nbsp;&nbsp;$('img.reflect').reflect();
....
});
&lt;/script&gt;</code></pre>
<p>これで、Reflect jQuery プラグインが動きます。あとは、反射させたい画像の class に上記のように、reflect rheight ropacity を指定してやりれば、画像が鏡面反射されます。</p>
<p>jQuery のプラグイン導入は簡単で、上記のようにプラグインのパスを書いて、$(document).ready(function()&nbsp;{&nbsp;});の中に何行かコードを追加するだけで、リッチなデザイン効果を追加出来るものが多いです。</p>
<h3>参考・参照</h3>
<p>jQuery 公式サイト：<a href="http://jquery.com/" title="jQuery: The Write Less, Do More, JavaScript Library">jQuery: The Write Less, Do More, JavaScript Library</a></p>
<p>Reflect jQuery :<a href="http://plugins.jquery.com/project/reflect" title="Reflect jQuery | jQuery Plugins">Reflect jQuery | jQuery Plugins</a></p>
<p><a href="http://semooh.jp/jquery/" title="jQuery1.2.3日本語リファレンス">jQuery1.2.3日本語リファレンス</a></p>
]]></content:encoded>
			<wfw:commentRss>http://retujyou.com/2008/05/05/reflect-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery使ってみた</title>
		<link>http://retujyou.com/2007/11/30/jquery/</link>
		<comments>http://retujyou.com/2007/11/30/jquery/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 10:00:03 +0000</pubDate>
		<dc:creator>rui_mashita</dc:creator>
				<category><![CDATA[webデザイン]]></category>
		<category><![CDATA[javascripts]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[WebDesign]]></category>

		<guid isPermaLink="false">http://retujyou.com/2007/11/30/jquery/</guid>
		<description><![CDATA[indexページと各記事の中段、フッターの水平アコーディオンにjQueryを使ってみた。
indexと各記事の中段は、マウスオーバーで一秒かけて不透明度をあげるようにしてる。フッターの水平アコーディオンは、haccord [...]]]></description>
			<content:encoded><![CDATA[<p>indexページと各記事の中段、フッターの水平アコーディオンに<a href="http://jquery.com/" title="jQuery: The Write Less, Do More, JavaScript Library">jQuery</a>を使ってみた。</p>
<p>indexと各記事の中段は、マウスオーバーで一秒かけて不透明度をあげるようにしてる。フッターの水平アコーディオンは、<a href="http://letmehaveblog.blogspot.com/2007/10/haccordion-simple-horizontal-accordion.html" title="Let me have a blog: haccordion, a simple horizontal accordion plugin for jQuery">haccordion</a>ってプラグインをすこし改変して使った。</p>
<p>jQueryは思ってたより簡単に入門できたし、プラグインも豊富。日本語解説も結構ある。</p>
<p>jQuery入門 解説</p>
<ul>
<li><a href="http://www.openspc2.org/JavaScript/Ajax/jQuery_study/ver1.2.1/index.html" title="jQuery入門 (ver 1.2.1)">jQuery入門 (ver 1.2.1)</a></li>
<li><a href="http://www.openspc2.org/JavaScript/Ajax/ref/jQuery/ver1.0.3/title.html" title="jQuery リファレンス">jQuery リファレンス</a></li>
<li><a href="http://www.mikage.to/jquery/" title="jQuery 開発者向けメモ">jQuery 開発者向けメモ</a></li>
<li>
<a href="http://visualjquery.com/index.xml" title="Visual jQuery 1.0 (Automated)">Visual jQuery 1.0 (Automated)</a>
</li>
</ul>
<p>jQuery Plugins</p>
<ul>
<li><a href="http://coliss.com/articles/build-websites/operation/javascript/638.html" title="[JS]jQueryのプラグイン33+1選 -2007年11月 | コリス">[JS]jQueryのプラグイン33+1選 -2007年11月 | コリス</a></li>
<li><a href="http://coliss.com/articles/build-websites/operation/javascript/356.html" title="[JS]jQueryのプラグイン33+1選 -2007年9月 | コリス">[JS]jQueryのプラグイン33+1選 -2007年9月 | コリス</a></li>
<li>
 <a href="http://jquery.com/plugins/">jQuery Plugins</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://retujyou.com/2007/11/30/jquery/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
