<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2chinesetwfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>我的普立茲</title>
	
	<link>http://blog.beyes.tw</link>
	<description>The Time Of My Life</description>
	<lastBuildDate>Mon, 26 Mar 2012 13:17:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/skyfate" /><feedburner:info uri="skyfate" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/skyfate" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2Fskyfate" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>CSS3 定位 | Position</title>
		<link>http://feedproxy.google.com/~r/skyfate/~3/_SQSseve3I4/575</link>
		<comments>http://blog.beyes.tw/575#comments</comments>
		<pubDate>Mon, 19 Mar 2012 05:18:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://blog.beyes.tw/?p=575</guid>
		<description><![CDATA[視區(Viewport) 當瀏覽者查看一份網頁文件時，通常使用者代理(User Agents, UA, 瀏覽器)會提供給瀏覽者一個視區(視窗或者是畫面裡的其它可視區域)。當我們調整視區大小時，UA 就有可能會改變文件上佈局。 當視區比文件所呈現的 Canvas 區域還小時，UA 可能會提供一個捲軸的機制來讓您一窺文件的全貌。理論上每個 Canvas 最多只能有一個視區，不過 UA 可以產生一個以上的 Canvas(例如在同一份文件上提供不同的可視區域, 如框架格)。 承載區塊(Containing Blocks) 如果一些 box 的位置與大小是以其它相關的「矩行方塊」的邊緣(edges)來計算的話，我們就將這樣的「矩行方塊」稱之為承載區塊(Containing Blocks)。再簡單的講，所謂承載區塊指的是，離「該元素」最近的區塊級親代元素；無論「該元素」的定位或者是浮動，皆是以它的承載區塊來做參考基準(除了 fixed 定位方式)。 底下是一個簡單的承載區塊示意圖(demo-two 的承載區塊為 demo-one)。 當親代元素為區塊型元素時，其承載區塊的大小是到內緣距離。 當親代元素為單列型元素時，其承載區塊的大小是到內容邊緣。 正常流向(Normal Flow) 什麼是正常流向呢？由上而下、由左至右這樣的走向就是所謂的正常流向；我們拿超文件標記語言來說好了，其原始碼撰寫的方向是從上而下由左至右，這就是正常流向。而瀏覽器也是依據這樣的走向來解譯(直譯)我們的原始碼。 換個角度來說，在大部分的情況下，正常流向指的是在網頁裡頭，顯示元素標籤的方式。另外，多數的 HTML 元素標籤都是屬於 inline box 或 block box。block box 裡可以包含 inline box；反之，inline box 裡不能包含有 block box。 position 屬　性 設定值 position定位 static &#124; relative [...]]]></description>
			<content:encoded><![CDATA[<h2>視區(Viewport)</h2>
<p>當瀏覽者查看一份網頁文件時，通常使用者代理(User Agents, UA, 瀏覽器)會提供給瀏覽者一個視區(視窗或者是畫面裡的其它可視區域)。當我們調整視區大小時，UA 就有可能會改變文件上佈局。</p>
<p>當視區比文件所呈現的 Canvas 區域還小時，UA 可能會提供一個捲軸的機制來讓您一窺文件的全貌。理論上每個 Canvas 最多只能有一個視區，不過 UA 可以產生一個以上的 Canvas(例如在同一份文件上提供不同的可視區域, 如框架格)。</p>
<h2>承載區塊(Containing Blocks)</h2>
<p>如果一些 <a href="http://blog.beyes.tw/491">box</a> 的位置與大小是以其它相關的「矩行方塊」的邊緣(edges)來計算的話，我們就將這樣的「矩行方塊」稱之為承載區塊(Containing Blocks)。再簡單的講，所謂承載區塊指的是，離「該元素」最近的區塊級親代元素；無論「該元素」的定位或者是浮動，皆是以它的<b class="red">承載區塊</b>來做參考基準(除了 fixed 定位方式)。</p>
<p>底下是一個簡單的承載區塊示意圖(demo-two 的承載區塊為 demo-one)。</p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/cblog/bbmc.png" alt="" /></p>
<ul>
<li>當親代元素為區塊型元素時，其承載區塊的大小是到內緣距離。</li>
<li>當親代元素為單列型元素時，其承載區塊的大小是到內容邊緣。</li>
</ul>
<h2>正常流向(Normal Flow)</h2>
<p>什麼是正常流向呢？由上而下、由左至右這樣的走向就是所謂的正常流向；我們拿<a href="http://blog.beyes.tw/175">超文件標記語言</a>來說好了，其原始碼撰寫的方向是從上而下由左至右，這就是正常流向。而瀏覽器也是依據這樣的走向來解譯(直譯)我們的原始碼。</p>
<p>換個角度來說，在大部分的情況下，<b class="red">正常流向指的是在網頁裡頭，顯示元素標籤的方式。</b>另外，多數的 <a href="http://blog.beyes.tw/category/html">HTML</a> 元素標籤都是屬於 inline <a href="http://blog.beyes.tw/491">box</a> 或 block <a href="http://blog.beyes.tw/491">box</a>。block <a href="http://blog.beyes.tw/491">box</a> 裡可以包含 inline <a href="http://blog.beyes.tw/491">box</a>；反之，inline <a href="http://blog.beyes.tw/491">box</a> 裡不能包含有 block <a href="http://blog.beyes.tw/491">box</a>。</p>
<h2>position</h2>
<table class="table-one">
<tr>
<td class="tdl">屬　性</td>
<td class="tdr">設定值</td>
</tr>
<tr>
<td class="tdBG-one"><span class="sname">position</span><br />定位</td>
<td class="tdBG-one"><span class="svals">static</span> | <span class="svals">relative</span> | <span class="svals">absolute</span> | <span class="svals">center</span> | <span class="svals">page</span> | <span class="svals">fixed</span></td>
</tr>
<tr>
<td class="tdBG-one" colspan="2">預設值：static<br />適用於：除了 table-column-group 與 table-column 之外的全部元素<br />繼承性：無</td>
</tr>
</table>
<p>用來將 <a href="http://blog.beyes.tw/category/html">HTML</a> 元素所產生的 <a href="http://blog.beyes.tw/491">box</a> 定位在我們想要讓它呈現的位置上。</p>
<h3>Static Positioning | 靜態位置的定位</h2>
<p>依照撰寫原始碼時的順序來定位。白話的講就是依序我們撰寫 <a href="http://blog.beyes.tw/category/html">HTML</a> 元素所產生的 <a href="http://blog.beyes.tw/491">box</a> 讓它自然地排在原本流向應該在的位置上。<b class="red">static</b> 這個值不用特別去指定它，因為它是預設值，也就是說所有的 <a href="http://blog.beyes.tw/491">box</a> 元素一開始通通在本來應有的位置上。並且不適用 bottom、left、right 與 top 這四個屬性。</p>
<h3>Relative Positioning | 相對位置的定位</h3>
<p>相對於原本的位置(不是相對於其它的元素的位置)。將元素定位在相對於原本的位置；該元素會移動到我們所定位的地方，而<span class="red">原本位置的大小會在承載區塊中被保留。</span></p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/cblog/plra.png" alt="" /></p>
<h3>Absolute Positioning | 絕對位置的定位</h3>
<p>相對於承載區塊的位置。該元素會從 <a href="http://blog.beyes.tw/category/html">HTML</a> 的流向中移除，然後依據承載區塊來重新定位給該元素應有的空間，而<span class="red">原本位置的大小會在承載區塊中被清除。</span>其親代元素的定位值不可為 <b class="red">static</b>。</p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/cblog/plaa.png" alt="" /></p>
<h3>Fixed Positioning | 固定位置的定位</h3>
<p>相對於瀏覽器視窗的<b>視區</b>座標，將位置固定住不再隨捲軸的移動而改變。</p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/cblog/plfa.png" alt="" /></p>
<h2>bottom, left, right, top</h2>
<table class="table-one">
<tr>
<td class="tdl">屬　性</td>
<td class="tdr">設定值</td>
</tr>
<tr>
<td class="tdBG-one"><span class="sname">bottom</span> 設定 box 下方間距<br /><span class="sname">left</span> 設定 box 左邊間距<br /><span class="sname">right</span> 設定 box 右邊間距<br /><span class="sname">top</span> 設定 box 上方間距</td>
<td class="tdBG-one"><span class="svals">auto</span> | &lt;<span class="svals">length</span>&gt; | &lt;<span class="svals">percentage</span>&gt;</td>
</tr>
<tr>
<td class="tdBG-one" colspan="2">預設值：auto<br />適用於：定位元素<br />繼承性：無</td>
</tr>
</table>
<p>這四個屬性是用來設定已定位目標元素與承載區塊的邊界距離。須注意的是，這四個值均可設為負數；當為負數時，該元素的位置會跑到承載區塊的邊界外。</p>
<h2>z-index</h2>
<table class="table-one">
<tr>
<td class="tdl">屬　性</td>
<td class="tdr">設定值</td>
</tr>
<tr>
<td class="tdBG-one"><span class="sname">z-index</span><br />z 軸定位</td>
<td class="tdBG-one"><span class="svals">auto</span> | &lt;<span class="svals">integer</span>&gt;</td>
</tr>
<tr>
<td class="tdBG-one" colspan="2">預設值：auto<br />適用於：定位元素<br />繼承性：無</td>
</tr>
</table>
<p>用來讓元素之間相互堆疊覆蓋。<span class="red">其值越大表示越上層</span>(也可使用負值)。</p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/cblog/plza.png" alt="" /></p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/cblog/plzb.png" alt="" /></p>
<h2>clip</h2>
<table class="table-one">
<tr>
<td class="tdl">屬　性</td>
<td class="tdr">設定值</td>
</tr>
<tr>
<td class="tdBG-one"><span class="sname">clip</span><br />修剪可視的範圍</td>
<td class="tdBG-one"><span class="svals">auto</span> | &lt;<span class="svals">shape</span>&gt;</td>
</tr>
<tr>
<td class="tdBG-one" colspan="2">預設值：auto<br />適用於：絕對定位的元素<br />繼承性：無</td>
</tr>
</table>
<p>用來修剪內容可視的範圍。</p>
<h3><i>&lt;shape&gt;</i></h3>
<ul>
<li><b class="red">rect</b> <code class="code-one">rect(上, 右, 下, 左)</code> 從元素的<b class="red">左上角</b>開始剪出。</li>
<li><b class="red">inset</b> <code class="code-one">inset(上, 右, 下, 左)</code> 類似於 rect 方式，不過它是從元素的邊界<b class="red">往內剪出</b>。</li>
</ul>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/cblog/plca.png" alt="" /></p>
<img src="http://feeds.feedburner.com/~r/skyfate/~4/_SQSseve3I4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.beyes.tw/575/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.beyes.tw/575</feedburner:origLink></item>
		<item>
		<title>CSS3 Transforming Text | 文字大小寫的轉換</title>
		<link>http://feedproxy.google.com/~r/skyfate/~3/WlK9s1jf0lM/574</link>
		<comments>http://blog.beyes.tw/574#comments</comments>
		<pubDate>Mon, 19 Mar 2012 05:15:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://blog.beyes.tw/?p=574</guid>
		<description><![CDATA[text-transform 屬　性 設定值 text-transform文字大小寫轉換 none &#124; [ [ capitalize &#124; uppercase &#124; lowercase ] &#124;&#124; full-width &#124;&#124; full-size-kana ] 預設值：none適用於：全部標籤繼承性：有 用來轉換文字大小寫的體裁效果，其值有如下的意義： none：沒有任何的影響。 capitalize：將每個單字的第一個字元(母)轉換為大寫，而單字中的其它字元則不受影響。 uppercase：將每個單字的字元全部轉換為大寫字母。 lowercase：將每個單字的字元全部轉換為小寫字母。 full-width：將所有的字元轉換成全形(fullwidth)格式。如果想轉換的字元並沒有相對應的全形格式時，它將會保持原來的格式。 full-size-kana：將所有的小型日本字母轉換成正常的日本字母。例如右圖裡，半形日文片假名(half-width katakana)將會對應轉換成全形片假名。 p#demo { text-transform: uppercase; /* 將所屬 p 元素內的單字全部轉換為大寫 */ }]]></description>
			<content:encoded><![CDATA[<h2>text-transform</h2>
<table class="table-one">
<tr>
<td class="tdl">屬　性</td>
<td class="tdr">設定值</td>
</tr>
<tr>
<td class="tdBG-one"><span class="sname">text-transform</span><br />文字大小寫轉換</td>
<td class="tdBG-one"><span class="svals">none</span> | [ [ <span class="svals">capitalize</span> | <span class="svals">uppercase</span> | <span class="svals">lowercase</span> ] || <span class="svals">full-width</span> || <span class="svals">full-size-kana</span> ]</td>
</tr>
<tr>
<td class="tdBG-one" colspan="2">預設值：none<br />適用於：全部標籤<br />繼承性：有</td>
</tr>
</table>
<p>用來轉換文字大小寫的體裁效果，其值有如下的意義：</p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/cblog/tta.png" class="fr" alt="" /></p>
<ul>
<li><b class="red">none</b>：沒有任何的影響。</li>
<li><b class="red">capitalize</b>：將每個單字的<b>第一個字元</b>(母)轉換為大寫，而單字中的其它字元則不受影響。</li>
<li><b class="red">uppercase</b>：將每個單字的字元<b>全部轉換為大寫</b>字母。</li>
<li><b class="red">lowercase</b>：將每個單字的字元<b>全部轉換為小寫</b>字母。</li>
<li><b class="red">full-width</b>：將所有的字元轉換成全形(fullwidth)格式。如果想轉換的字元並沒有相對應的全形格式時，它將會保持原來的格式。</li>
<li><b class="red">full-size-kana</b>：將所有的小型日本字母轉換成正常的日本字母。例如右圖裡，半形日文片假名(half-width katakana)將會對應轉換成全形片假名。</li>
</ul>
<pre class="code-example">
p#demo {
	text-transform: uppercase;		<span class="code-two">/* 將所屬 p 元素內的單字全部轉換為大寫 */</span>
}
</pre>
<img src="http://feeds.feedburner.com/~r/skyfate/~4/WlK9s1jf0lM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.beyes.tw/574/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.beyes.tw/574</feedburner:origLink></item>
		<item>
		<title>CSS3 Text Shadow | 文字陰影</title>
		<link>http://feedproxy.google.com/~r/skyfate/~3/O0tJsZd5UxQ/573</link>
		<comments>http://blog.beyes.tw/573#comments</comments>
		<pubDate>Mon, 19 Mar 2012 05:12:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://blog.beyes.tw/?p=573</guid>
		<description><![CDATA[text-shadow 屬　性 設定值 text-shadow文字陰影 none &#124; [ &#60;length&#62;{2,3} &#038;&#038; &#60;color&#62;? ]# 預設值：none適用於：全部標籤繼承性：有 用來設定文字陰影的效果。另一個相類似的效果請參考 box shadow。 h1#demo { text-shadow: #666666 5px 5px 3px; } 上述例子裡： text-shadow: #666666 5px 5px 3px; #666666 表示陰影顏色(放在最前或最後都可以)。 第一個 5px 表示水平(X 軸)位移，正值代表陰影往右移動，負值則是向左移動。 第二個 5px 表示垂直(Y 軸)位移，正值代表陰影往下移動，負值則是向上移動。 3px 表示柔焦的光暈半徑。 ※單位為長度單位。]]></description>
			<content:encoded><![CDATA[<h2>text-shadow</h2>
<table class="table-one">
<tr>
<td class="tdl">屬　性</td>
<td class="tdr">設定值</td>
</tr>
<tr>
<td class="tdBG-one"><span class="sname">text-shadow</span><br />文字陰影</td>
<td class="tdBG-one"><span class="svals">none</span> | [ &lt;<span class="svals">length</span>&gt;{2,3} &#038;&#038; &lt;<span class="svals">color</span>&gt;? ]# </td>
</tr>
<tr>
<td class="tdBG-one" colspan="2">預設值：none<br />適用於：全部標籤<br />繼承性：有</td>
</tr>
</table>
<p>用來設定文字陰影的效果。另一個相類似的效果請參考 <a href="http://blog.beyes.tw/484">box shadow</a>。</p>
<pre class="code-example">
h1#demo {
	text-shadow: #666666 5px 5px 3px;
}
</pre>
<p>上述例子裡：</p>
<p><code class="code-one">text-shadow: #666666 5px 5px 3px;</code></p>
<ul>
<li>#666666 表示陰影<a href="http://blog.beyes.tw/482">顏色</a>(放在最前或最後都可以)。</li>
<li>第一個 5px 表示水平(X 軸)位移，正值代表陰影往右移動，負值則是向左移動。</li>
<li>第二個 5px 表示垂直(Y 軸)位移，正值代表陰影往下移動，負值則是向上移動。</li>
<li>3px 表示柔焦的光暈半徑。</li>
<li>※單位為長度單位。</li>
</ul>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/cblog/tsa.png" alt="" /></p>
<img src="http://feeds.feedburner.com/~r/skyfate/~4/O0tJsZd5UxQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.beyes.tw/573/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.beyes.tw/573</feedburner:origLink></item>
		<item>
		<title>如何讓條列式標題的彙整頁面照字母排序</title>
		<link>http://feedproxy.google.com/~r/skyfate/~3/Ns32_Lpc7nc/569</link>
		<comments>http://blog.beyes.tw/569#comments</comments>
		<pubDate>Thu, 08 Mar 2012 15:42:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.beyes.tw/?p=569</guid>
		<description><![CDATA[不明白標題所言的話，看一下下面分類彙整頁面的小抓圖，應該就能明瞭。圖裡的文章標題照字母 A-Z 的排法就是我想表達的意思。本來條列式的彙整就已經很清楚可以知道該分類有什麼內容，如果文章又以英文開頭的話，那要找東西更是容易。 用法很簡單。底下是我目前 archive.php 檔案裡列出文章迴圈的寫法。須注意的是第二列裡的參數，每個參數須以 &#38; 做開頭，參數與參數間用 . 相連。]]></description>
			<content:encoded><![CDATA[<p>不明白標題所言的話，看一下下面分類彙整頁面的小抓圖，應該就能明瞭。圖裡的文章標題照字母 A-Z 的排法就是我想表達的意思。本來條列式的彙整就已經很清楚可以知道該分類有什麼內容，如果文章又以英文開頭的話，那要找東西更是容易。</p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/abc/id0569.jpg" alt="" /></p>
<p>用法很簡單。底下是我目前 archive.php 檔案裡列出文章迴圈的寫法。須注意的是第二列裡的參數，每個參數須以 <b class="red">&amp;</b> 做開頭，參數與參數間用 <b class="red">.</b> 相連。</p>
<pre class="brush: php; title: ; notranslate">&lt;?php global $query_string;
query_posts( $query_string . '&amp;order=ASC' . '&amp;orderby=title' ); ?&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;
			&lt;div class=&quot;arc_post_title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; title=&quot;&lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/div&gt;
&lt;?php endwhile; ?&gt;
&lt;?php wp_reset_query(); ?&gt;</pre>
<img src="http://feeds.feedburner.com/~r/skyfate/~4/Ns32_Lpc7nc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.beyes.tw/569/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.beyes.tw/569</feedburner:origLink></item>
		<item>
		<title>如何增添導覽選單(Navigation Menus)功能與使用</title>
		<link>http://feedproxy.google.com/~r/skyfate/~3/RvwhKjqpgNY/548</link>
		<comments>http://blog.beyes.tw/548#comments</comments>
		<pubDate>Tue, 07 Feb 2012 01:50:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.beyes.tw/?p=548</guid>
		<description><![CDATA[如何開啟 Navigation Menus 功能 如果您的主題並未有該功能的話，則必須在 functions.php 檔案中加入以下語句： 加入完畢並重新整理之後，您就會多看到一個選項(如下圖所示)。 當然啦，以上只是開啟該功能而已。如果想要在主題上顯示其效果，則必須將以下語句放在您想要呈現出來的地方(通常放在 header.php)。 &#60;?php wp_nav_menu(); ?&#62; 若無特殊需求的話，以上就夠用了。更多詳盡用法請考官方的 Navigation Menus 文件。 如何使用 Navigation Menus 功能 拖曳完成後，記得還要儲存，便可。]]></description>
			<content:encoded><![CDATA[<h2>如何開啟 Navigation Menus 功能</h2>
<p>如果您的主題並未有該功能的話，則必須在 <b class="red"><code>functions.php</code></b> 檔案中加入以下語句：</p>
<pre class="brush: php; title: ; notranslate">if ( function_exists( 'register_nav_menus' ) ) {
	register_nav_menus(
		array(
			'primary' =&gt; __( 'Primary Navigation' ),
		)
	);
}</pre>
<p>加入完畢並重新整理之後，您就會多看到一個選項(如下圖所示)。</p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/abc/id0548a.png" alt="" /></p>
<p>當然啦，以上只是開啟該功能而已。如果想要在主題上顯示其效果，則必須將以下語句放在您想要呈現出來的地方(通常放在 header.php)。</p>
<p><code class="code-one">&lt;?php wp_nav_menu(); ?&gt;</code></p>
<p>若無特殊需求的話，以上就夠用了。更多詳盡用法請考官方的 <a href="http://codex.wordpress.org/Navigation_Menus">Navigation Menus</a> 文件。</p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/abc/id0548b.jpg" alt="" /></p>
<h2>如何使用 Navigation Menus 功能</h2>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/abc/id0548c.png" alt="" /></p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/abc/id0548d.png" alt="" /></p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/abc/id0548e.png" alt="" /></p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/abc/id0548f.png" alt="" /></p>
<p><img src="http://i19.photobucket.com/albums/b152/skyfate/abc/id0548g.png" alt="" /></p>
<p>拖曳完成後，記得還要儲存，便可。</p>
<img src="http://feeds.feedburner.com/~r/skyfate/~4/RvwhKjqpgNY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blog.beyes.tw/548/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.beyes.tw/548</feedburner:origLink></item>
	</channel>
</rss>

