<?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>javascript &#8211; 這世上 沒有偶然 只有必然</title>
	<atom:link href="https://wordpress.lokidea.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress.lokidea.com</link>
	<description>幻幽的小小分享區</description>
	<lastBuildDate>Fri, 03 Jul 2015 15:55:30 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>[前端]中文urlencode,urldecode的問題-純js</title>
		<link>https://wordpress.lokidea.com/303/%e5%89%8d%e7%ab%af%e4%b8%ad%e6%96%87urlencodeurldecode%e7%9a%84%e5%95%8f%e9%a1%8c-%e7%b4%94js/</link>
					<comments>https://wordpress.lokidea.com/303/%e5%89%8d%e7%ab%af%e4%b8%ad%e6%96%87urlencodeurldecode%e7%9a%84%e5%95%8f%e9%a1%8c-%e7%b4%94js/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Fri, 03 Jul 2015 15:55:30 +0000</pubDate>
				<category><![CDATA[js]]></category>
		<category><![CDATA[前端]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[urldecode]]></category>
		<category><![CDATA[urlencode]]></category>
		<category><![CDATA[純js]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=303</guid>

					<description><![CDATA[這問題真的挺少見的 筆記一下 問題情況： 有某中文字串，經過urlencode過，需要使用urldecode， &#8230; <a href="https://wordpress.lokidea.com/303/%e5%89%8d%e7%ab%af%e4%b8%ad%e6%96%87urlencodeurldecode%e7%9a%84%e5%95%8f%e9%a1%8c-%e7%b4%94js/" class="more-link">閱讀全文 <span class="screen-reader-text">[前端]中文urlencode,urldecode的問題-純js</span></a>]]></description>
										<content:encoded><![CDATA[<p>這問題真的挺少見的<br />
筆記一下</p>
<blockquote><p>問題情況：<br />
有某中文字串，經過urlencode過，需要使用urldecode，<br />
但是原始字串編碼並非是UTF-8，所以不能直接使用js 的urldecode function<br />
但是又不能使用後端解碼，只能用js處理</p></blockquote>
<p>網路上搜尋過後，<br />
最常見的解法<br />
就是在JS裡面寫一段解碼表，把utf-8(en) -&gt; big5(de)<br />
找到一段轉換code <a href="https://code.google.com/p/utf8tobig5/" target="_blank" rel="noopener noreferrer">連結</a><br />
網路上也有轉換的線上站 <a href="http://www.mytju.com/classCode/tools/urldecode_big5.asp" target="_blank" rel="noopener noreferrer">連結</a><br />
但是不能用這麼多的js code<br />
於是，另外找了其他作法<br />
<a href="http://www.cnblogs.com/xueduanyang/archive/2013/05/30/3108442.html" target="_blank" rel="noopener noreferrer">(造福中国前端界）纯前端Js完美解决各种汉字urlencode,urldecode，编码解码问题，不借助任何字库，内码表，轻松一行，兼容IE8+，chrome，firefox，safari等主流浏览器</a><br />
<a href="http://xueduany.github.io/KitJs/urlencode.html" target="_blank" rel="noopener noreferrer">範例網址</a><br />
<a href="https://github.com/xueduany/KitJs/blob/gh-pages/urlencode.html" target="_blank" rel="noopener noreferrer">github source code link</a><br />
<span id="more-303"></span><br />
以下為未整理的相關資料<br />
http://fanli7.net/a/bianchengyuyan/C__/20130530/360927.html<br />
http://blog.darkthread.net/post-2008-07-16-querystring-encoding.aspx</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/303/%e5%89%8d%e7%ab%af%e4%b8%ad%e6%96%87urlencodeurldecode%e7%9a%84%e5%95%8f%e9%a1%8c-%e7%b4%94js/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>燈箱效果 fancyBox</title>
		<link>https://wordpress.lokidea.com/229/%e7%87%88%e7%ae%b1%e6%95%88%e6%9e%9c-fancybox/</link>
					<comments>https://wordpress.lokidea.com/229/%e7%87%88%e7%ae%b1%e6%95%88%e6%9e%9c-fancybox/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Fri, 05 Jun 2015 15:55:31 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[前端]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[動態效果]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=229</guid>

					<description><![CDATA[這應該也很多人會用到 點選圖片以後，圖片會獨立顯示，背景會變暗 這就是燈箱效果 lightbox 名稱：fan &#8230; <a href="https://wordpress.lokidea.com/229/%e7%87%88%e7%ae%b1%e6%95%88%e6%9e%9c-fancybox/" class="more-link">閱讀全文 <span class="screen-reader-text">燈箱效果 fancyBox</span></a>]]></description>
										<content:encoded><![CDATA[<p>這應該也很多人會用到<br />
點選圖片以後，圖片會獨立顯示，背景會變暗<br />
這就是燈箱效果 lightbox</p>
<blockquote><p>名稱：fancyBox<br />
連結：<a href="http://fancyapps.com/fancybox/" target="_blank" rel="noopener noreferrer">http://fancyapps.com/fancybox/</a><br />
github：<a href="https://github.com/fancyapps/fancyBox" target="_blank" rel="noopener noreferrer">https://github.com/fancyapps/fancyBox</a></p></blockquote>
<p>用起來還滿容易的</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/229/%e7%87%88%e7%ae%b1%e6%95%88%e6%9e%9c-fancybox/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>圖片輪播 slidesjs</title>
		<link>https://wordpress.lokidea.com/226/%e5%9c%96%e7%89%87%e8%bc%aa%e6%92%ad-slidesjs/</link>
					<comments>https://wordpress.lokidea.com/226/%e5%9c%96%e7%89%87%e8%bc%aa%e6%92%ad-slidesjs/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Thu, 04 Jun 2015 15:55:56 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[前端]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[動態效果]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=226</guid>

					<description><![CDATA[這是一個簡單的輪播工具 已經把RWD跟觸控都包含進去了 名稱：SLIDESJS 連結：http://www.s &#8230; <a href="https://wordpress.lokidea.com/226/%e5%9c%96%e7%89%87%e8%bc%aa%e6%92%ad-slidesjs/" class="more-link">閱讀全文 <span class="screen-reader-text">圖片輪播 slidesjs</span></a>]]></description>
										<content:encoded><![CDATA[<p>這是一個簡單的輪播工具<br />
已經把RWD跟觸控都包含進去了</p>
<blockquote><p>名稱：SLIDESJS<br />
連結：<a href="http://www.slidesjs.com/" target="_blank" rel="noopener noreferrer">http://www.slidesjs.com/</a></p></blockquote>
<p><a href="http://www.slidesjs.com/#docs" target="_blank" rel="noopener noreferrer">使用說明</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/226/%e5%9c%96%e7%89%87%e8%bc%aa%e6%92%ad-slidesjs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
