<?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>WEBCreate practice!! &#187; JQuery</title>
	<atom:link href="http://study.guidebook.jp/web_create/?cat=7&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://study.guidebook.jp/web_create</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Wed, 22 May 2013 02:26:09 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://study.guidebook.jp/web_create/?cat=7&amp;feed=rss2" />
		<item>
		<title>シンプルなフォトギャラリーが作れる「thumb_gallery.js」</title>
		<link>http://study.guidebook.jp/web_create/?p=327</link>
		<comments>http://study.guidebook.jp/web_create/?p=327#comments</comments>
		<pubDate>Wed, 15 May 2013 09:09:56 +0000</pubDate>
		<dc:creator>masayoshi</dc:creator>
				<category><![CDATA[javaScript]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://study.guidebook.jp/web_create/?p=327</guid>
		<description><![CDATA[シンプルなフォトギャラリーを設置することが出来る、thumb_gallery.jsをご紹介します。何を隠そうこのスクリプトは生徒さんの作品になります!!。僅か半年足らずで未経験からここまで登り詰めるとは・・・。K野さん脱 [...]]]></description>
				<content:encoded><![CDATA[<p>シンプルなフォトギャラリーを設置することが出来る、<span style="color: #ff0000;"><strong>thumb_gallery.js</strong></span>をご紹介します。何を隠そうこのスクリプトは生徒さんの作品になります!!。僅か半年足らずで未経験からここまで登り詰めるとは・・・。K野さん脱帽です!!参りました!!(笑)。<span id="more-327"></span><br />
&nbsp;<br />
まだ、K野さん自身のサイトが無いため、リンクが張れないですがK野さんのサイトが完成次第リンクを張る予定です。<br />
&nbsp;<br />
<a href="http://study.guidebook.jp/zip_files/thumbnail_gallery/" target="_blank">とりあえずの動作サンプルはこちら!!</a><br />
&nbsp;<br />
ではではさっそく使い方の説明をしていこうと思います。<br />
&nbsp;</p>
<h3><span style="color: #ff0000;">ファイルのダウンロード</span></h3>
<p>&nbsp;<br />
<a href="http://study.guidebook.jp/zip_files/thumbnail_gallery/thumbnail_gallery.zip">こちらからファイル一式ダウンロードしてください。</a><br />
&nbsp;<br />
ダウンロードしてzipファイルを解凍したら自分のサイトの中に下記のソースコードを記述。</p>
<pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;js/jquery-1.9.1.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;js/thumb_gallery.js&quot;&gt;&lt;/script&gt;
&lt;link href=&quot;css/thumb_gallery.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt; 
</pre>
<p>&nbsp;</p>
<h3><span style="color: #ff0000;">フォトギャラリー部分のHTMLマークアップ</span></h3>
<pre class="brush: xml; title: ; notranslate">
&lt;div class=&quot;display_image&quot;&gt;
 &lt;ul&gt;
  &lt;li&gt;&lt;img alt=&quot;画像01&quot; src=&quot;画像ファイルのパス&quot; width=&quot;画像幅※必須&quot; height=&quot;画像高さ※必須&quot;&gt;&lt;/li&gt;
  &lt;li&gt;&lt;img alt=&quot;画像02&quot; src=&quot;画像ファイルのパス&quot; width=&quot;画像幅※必須&quot; height=&quot;画像高さ※必須&quot;&gt;&lt;/li&gt;
  &lt;li&gt;&lt;img alt=&quot;画像03&quot; src=&quot;画像ファイルのパス&quot; width=&quot;画像幅※必須&quot; height=&quot;画像高さ※必須&quot;&gt;&lt;/li&gt;
  &lt;li&gt;&lt;img alt=&quot;画像04&quot; src=&quot;画像ファイルのパス&quot; width=&quot;画像幅※必須&quot; height=&quot;画像高さ※必須&quot;&gt;&lt;/li&gt;
  &lt;li&gt;&lt;img alt=&quot;画像05&quot; src=&quot;画像ファイルのパス&quot; width=&quot;画像幅※必須&quot; height=&quot;画像高さ※必須&quot;&gt;&lt;/li&gt;
 &lt;/ul&gt;
&lt;/div&gt;
</pre>
<p>上記のように、div要素にクラス属性「display_image」を記述し、その中にリスト(※&lt;ul&gt;)で画像を配置します。・・・終了です。なんとシンプルでなんと設定しやすいスクリプトだこと。K野さん恐るべし!!<br />
&nbsp;</p>
<h3><span style="color: #ff0000;">注意点</span></h3>
<p>&nbsp;<br />
※div要素内のリストは、ul要素にのみ対応しています。</p>
<p>※挿入するimg要素のwidth属性とheight属性は必ず指定してください。</p>
<p>※各画像のサイズが統一されていなくても、問題なく動作しますが、各画像の縦横比（特に高さ）は統一されている、もしくは、ある程度近い数値である事を推奨します。<br />
&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://study.guidebook.jp/web_create/?feed=rss2&#038;p=327</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://study.guidebook.jp/web_create/?p=327" />
	</item>
	</channel>
</rss>
