<?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>Lab of Chowky &#187; Jquery, Mootools</title>
	<atom:link href="http://lab.chowky.com/category/jquery-mootools/feed/" rel="self" type="application/rss+xml" />
	<link>http://lab.chowky.com</link>
	<description>分享ＩＴ技術</description>
	<lastBuildDate>Sun, 01 Jan 2012 06:13:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>[Jquery] multiple file upload plugin</title>
		<link>http://lab.chowky.com/2011/10/jquery-multiple-file-upload-plugin/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-multiple-file-upload-plugin</link>
		<comments>http://lab.chowky.com/2011/10/jquery-multiple-file-upload-plugin/#comments</comments>
		<pubDate>Sat, 08 Oct 2011 09:42:23 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[multiple file upload]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=2314</guid>
		<description><![CDATA[A jquery, flash solution for upload files with progress bar. With the use of flash, when browse for files, multiple file can be selected which could not be provided in the IE7,8 browsers. However, you should take note for the ASP.NET. Notes for the ASP.NET: Window Authentication cannot be used due to the limitation of [...]]]></description>
			<content:encoded><![CDATA[<p>A jquery, flash solution for upload files with progress bar. </p>
<p>With the use of flash, when browse for files, multiple file can be selected which could not be provided in the IE7,8 browsers.</p>
<p>However, you should take note for the ASP.NET.<br />
Notes for the ASP.NET:</p>
<p>Window Authentication cannot be used due to the limitation of the flash which does not properly handle HTTP Authentication (or you need to write a page which allow anonymous access)<br />
Forms Authentication can still be used but you need to search about the custom handling.</p>
<blockquote><p>HTTP Authentication is handled at the Web Server/Browser level with HTTP response codes and HTTP headers.<br />
Once authenticated the browser remembers that you already authenticated to this site and just sends the auth data with each request (otherwise you&#8217;d have to re-auth with every request).
</p></blockquote>
<p><a href="http://swfupload.org/forum/generaldiscussion/427">Detail</a></p>
<p>Requirement: Flash and jQuery.<br />
Reference: <a href="http://www.uploadify.com/">http://www.uploadify.com/</a><br />
License: Open Source</p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2314" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2011%2F10%2Fjquery-multiple-file-upload-plugin%2F&amp;title=%5BJquery%5D%20multiple%20file%20upload%20plugin" id="wpa2a_2"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2011/10/jquery-multiple-file-upload-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[jQuery] Ajax Calendar Control: Full Calendar 推介</title>
		<link>http://lab.chowky.com/2011/08/jquery-ajax-calendar-control-full-calendar-%e6%8e%a8%e4%bb%8b/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-ajax-calendar-control-full-calendar-%25e6%258e%25a8%25e4%25bb%258b</link>
		<comments>http://lab.chowky.com/2011/08/jquery-ajax-calendar-control-full-calendar-%e6%8e%a8%e4%bb%8b/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 15:21:56 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[day view]]></category>
		<category><![CDATA[month view]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=2308</guid>
		<description><![CDATA[如果有看chowky 之前的blog 的話，chowky 之前介紹了8種不同的ajax calendar control. 不過過了這麼久，chowky 再次去看看，跟進一下之前所看好的 full calendar 的開發情況是怎樣。 chowky 的眼光果然不錯，現在的full calendar 已經加入了 day view 的week view ，基本一個calendar 所要求的都經已達到，chowky 覺得十分滿意，有機會的話會採用這個control (hm&#8230;老實說、主要原因是免費) documentation, api 都足夠，integration 應該不困難 License: open source (dual licensed under the MIT or GPL) Demo: http://arshaw.com/fullcalendar/]]></description>
			<content:encoded><![CDATA[<p>如果有看chowky 之前的<a href="http://lab.chowky.com/2009/09/javascript-ajax-outlook-like-calendar-components/">blog</a> 的話，chowky 之前介紹了8種不同的ajax calendar control.</p>
<p>不過過了這麼久，chowky 再次去看看，跟進一下之前所看好的 full calendar 的開發情況是怎樣。</p>
<p>chowky 的眼光果然不錯，現在的full calendar 已經加入了 day view 的week view ，基本一個calendar 所要求的都經已達到，chowky 覺得十分滿意，有機會的話會採用這個control (hm&#8230;老實說、主要原因是免費)</p>
<p>documentation, api 都足夠，integration 應該不困難<br />
<a href="http://lab.chowky.com/wp-content/uploads/2011/08/fullcalendar.png"><img src="http://lab.chowky.com/wp-content/uploads/2011/08/fullcalendar-300x253.png" alt="" title="fullcalendar" width="300" height="253" class="alignnone size-medium wp-image-2310" /></a></p>
<p>License: open source (dual licensed under the MIT or GPL)<br />
Demo: <a href="http://arshaw.com/fullcalendar/">http://arshaw.com/fullcalendar/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2308" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2011%2F08%2Fjquery-ajax-calendar-control-full-calendar-%25e6%258e%25a8%25e4%25bb%258b%2F&amp;title=%5BjQuery%5D%20Ajax%20Calendar%20Control%3A%20Full%20Calendar%20%E6%8E%A8%E4%BB%8B" id="wpa2a_4"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2011/08/jquery-ajax-calendar-control-full-calendar-%e6%8e%a8%e4%bb%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[jQuery] Sponsor Flip Wall</title>
		<link>http://lab.chowky.com/2010/05/jquery-sponsor-flip-wall/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-sponsor-flip-wall</link>
		<comments>http://lab.chowky.com/2010/05/jquery-sponsor-flip-wall/#comments</comments>
		<pubDate>Mon, 10 May 2010 04:51:51 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[flip]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jquery ui]]></category>
		<category><![CDATA[sponsor wall]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=2055</guid>
		<description><![CDATA[近來因為工作需要，所以就找到了很多不同的jquery 的 plugin ，學到了很多不同的effect。 (所以之前的post 很多都是jquery 的tutorial 來呢)~ 你只要一click 就會反轉，之後就會見到簡單的description~ Note: 這個只支援modern browser&#8230;. ie 6就無機會用到了，因為利用了css3。這個是利用了 jQuery Flip plug-in。 用法都十分之簡單~ HTML 的structure 就是利用 div 1 2 3 4 5 6 7 8 9 10 11 12 13 14 &#60;div title=&#34;Click to flip&#34; class=&#34;sponsor&#34;&#62; &#60;div class=&#34;sponsorFlip&#34;&#62; &#60;img alt=&#34;More about google&#34; src=&#34;img/sponsors/google.png&#34;&#62; &#60;/div&#62; &#160; &#60;div class=&#34;sponsorData&#34;&#62; &#60;div class=&#34;sponsorDescription&#34;&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>近來因為工作需要，所以就找到了很多不同的jquery 的 plugin ，學到了很多不同的effect。 (所以之前的post 很多都是jquery 的tutorial 來呢)~</p>
<p>你只要一click 就會反轉，之後就會見到簡單的description~</p>
<p><img src="http://tutorialzine.com/wp-content/uploads/2010/03/i12.png" alt="" /><br />
<img src="http://tutorialzine.com/wp-content/uploads/2010/03/i22.png" alt="" /><br />
Note: 這個只支援modern browser&#8230;. ie 6就無機會用到了，因為利用了css3。這個是利用了 jQuery Flip plug-in。</p>
<p>用法都十分之簡單~<span id="more-2055"></span><br />
HTML 的structure 就是利用 div</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Click to flip&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sponsor&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sponsorFlip&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">img</span> <span style="color: #000066;">alt</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;More about google&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;img/sponsors/google.png&quot;</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sponsorData&quot;</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sponsorDescription&quot;</span>&gt;</span>
			The company that redefined web search.
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;sponsorURL&quot;</span>&gt;</span>
			<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com/&quot;</span>&gt;</span>http://www.google.com/ <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
		<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
	<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
</pre></td><td class="code"><pre class="css" style="font-family:monospace;">body<span style="color: #00AA00;">&#123;</span>
	<span style="color: #808080; font-style: italic;">/* Setting default text color, background and a font stack */</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">0.825em</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#666</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span><span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-family</span><span style="color: #3333ff;">:Arial</span><span style="color: #00AA00;">,</span> Helvetica<span style="color: #00AA00;">,</span> <span style="color: #993333;">sans-serif</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
.sponsorListHolder<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span><span style="color: #933;">30px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
.sponsor<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">180px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">180px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span><span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">4px</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">/* Giving the sponsor div a relative positioning: */</span>
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">relative</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span><span style="color: #993333;">pointer</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
.sponsorFlip<span style="color: #00AA00;">&#123;</span>
	<span style="color: #808080; font-style: italic;">/*  The sponsor div will be positioned absolutely with respect
		to its parent .sponsor div and fill it in entirely */</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span><span style="color: #933;">100%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span><span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000;">&quot;img/background.jpg&quot;</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span> <span style="color: #993333;">center</span> <span style="color: #993333;">center</span> <span style="color: #cc00cc;">#f9f9f9</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.sponsorFlip</span><span style="color: #3333ff;">:hover</span><span style="color: #00AA00;">&#123;</span> <span style="color: #808080; font-style: italic;">/*而且ie6 不支援 div :hover，ie6 只支援到a:hover ，大家要留意啦*/</span>
	<span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span><span style="color: #933;">1px</span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#999</span><span style="color: #00AA00;">;</span>
&nbsp;
	<span style="color: #808080; font-style: italic;">/* CSS3 inset shadow: */</span>
	-moz-box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span> <span style="color: #cc00cc;">#999</span> <span style="color: #993333;">inset</span><span style="color: #00AA00;">;</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span> <span style="color: #cc00cc;">#999</span> <span style="color: #993333;">inset</span><span style="color: #00AA00;">;</span>
	box-shadow<span style="color: #00AA00;">:</span><span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">30px</span> <span style="color: #cc00cc;">#999</span> <span style="color: #993333;">inset</span><span style="color: #00AA00;">;</span> <span style="color: #808080; font-style: italic;">/*css3...這個是for ie 的呢~ 不過就無shadow 呢*/</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
</pre></td><td class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.sponsorFlip</span> img<span style="color: #00AA00;">&#123;</span>
	<span style="color: #808080; font-style: italic;">/* Centering the logo image in the middle of the .sponsorFlip div */</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span><span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">top</span><span style="color: #00AA00;">:</span><span style="color: #933;">50%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">:</span><span style="color: #933;">50%</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span><span style="color: #933;">-70px</span> <span style="color: #cc66cc;">0</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">-70px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
.sponsorData<span style="color: #00AA00;">&#123;</span>
	<span style="color: #808080; font-style: italic;">/* Hiding the .sponsorData div */</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span><span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
.sponsorDescription<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">11px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span><span style="color: #933;">50px</span> <span style="color: #933;">10px</span> <span style="color: #933;">20px</span> <span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span><span style="color: #993333;">italic</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
.sponsorURL<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span><span style="color: #933;">10px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">font-weight</span><span style="color: #00AA00;">:</span><span style="color: #993333;">bold</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">padding-left</span><span style="color: #00AA00;">:</span><span style="color: #933;">20px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
&nbsp;
.<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">&#123;</span>
	<span style="color: #808080; font-style: italic;">/* This class clears the floats */</span>
	<span style="color: #000000; font-weight: bold;">clear</span><span style="color: #00AA00;">:</span><span style="color: #993333;">both</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></td></tr></table></div>

<p>Javscript 方面，Sponsor wall 是利用了jquery ，和jquery ui for interface. 所以大家記得 include 這兩個js 以及 css&#8230;.<br />
接著當然係 document ready 時要做的javscript 呢~</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<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>
	<span style="color: #009966; font-style: italic;">/* The following code is executed once the DOM is loaded */</span>
&nbsp;
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.sponsorFlip'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">bind</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;click&quot;</span><span style="color: #339933;">,</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>
&nbsp;
		<span style="color: #006600; font-style: italic;">// $(this) point to the clicked .sponsorFlip element (caching it in elem for speed):</span>
&nbsp;
		<span style="color: #003366; font-weight: bold;">var</span> elem <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: #339933;">;</span>
&nbsp;
		<span style="color: #006600; font-style: italic;">// data('flipped') is a flag we set when we flip the element:</span>
&nbsp;
		<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>elem.<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'flipped'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #006600; font-style: italic;">// If the element has already been flipped, use the revertFlip method</span>
			<span style="color: #006600; font-style: italic;">// defined by the plug-in to revert to the default state automatically:</span>
&nbsp;
			elem.<span style="color: #660066;">revertFlip</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// Unsetting the flag:</span>
			elem.<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'flipped'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span>
		<span style="color: #009900;">&#125;</span>
		<span style="color: #000066; font-weight: bold;">else</span>
		<span style="color: #009900;">&#123;</span>
			<span style="color: #006600; font-style: italic;">// Using the flip method defined by the plugin:</span>
&nbsp;
			elem.<span style="color: #660066;">flip</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
				direction<span style="color: #339933;">:</span><span style="color: #3366CC;">'lr'</span><span style="color: #339933;">,</span>
				speed<span style="color: #339933;">:</span> <span style="color: #CC0000;">350</span><span style="color: #339933;">,</span>
				onBefore<span style="color: #339933;">:</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>
					<span style="color: #006600; font-style: italic;">// Insert the contents of the .sponsorData div (hidden</span>
					<span style="color: #006600; font-style: italic;">// from view with display:none) into the clicked</span>
					<span style="color: #006600; font-style: italic;">// .sponsorFlip div before the flipping animation starts:</span>
&nbsp;
					elem.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>elem.<span style="color: #660066;">siblings</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'.sponsorData'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
				<span style="color: #009900;">&#125;</span>
			<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
			<span style="color: #006600; font-style: italic;">// Setting the flag:</span>
			elem.<span style="color: #660066;">data</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'flipped'</span><span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>原文是利用了php 來generate data 的，不過chowky 覺得不太重要所以就算。大家有興趣可以去原文看看呢~</p>
<p>Source: <a href="http://tutorialzine.com/2010/03/sponsor-wall-flip-jquery-css/">http://tutorialzine.com/2010/03/sponsor-wall-flip-jquery-css/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2055" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2010%2F05%2Fjquery-sponsor-flip-wall%2F&amp;title=%5BjQuery%5D%20Sponsor%20Flip%20Wall" id="wpa2a_6"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2010/05/jquery-sponsor-flip-wall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[jQuery] 自訂右鍵 context menu</title>
		<link>http://lab.chowky.com/2010/04/jquery-%e8%87%aa%e8%a8%82%e5%8f%b3%e9%8d%b5-context-menu/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-%25e8%2587%25aa%25e8%25a8%2582%25e5%258f%25b3%25e9%258d%25b5-context-menu</link>
		<comments>http://lab.chowky.com/2010/04/jquery-%e8%87%aa%e8%a8%82%e5%8f%b3%e9%8d%b5-context-menu/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 10:53:00 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[Context Menu]]></category>
		<category><![CDATA[jquery Plugin]]></category>
		<category><![CDATA[Mouse Right Click]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=2044</guid>
		<description><![CDATA[大家有否覺得瀏覽網頁，每一次都只用右鍵，是否覺得有點單調呢。 所以今天就介紹一個東西可以助你自訂右制的content menu，還可以自己加入不同的圖示，非常方便。 當你需要做web-base 的system 就好需要這個plugin 呢~ 用法: &#60;!-- necessary libraray --&#62; &#60;script src=&#34;jquery-1.4.2.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;!--mce:0--&#62;&#60;/script&#62; &#60;!-- jQuery Core --&#62; &#60;script src=&#34;jquery.contextMenu.js&#34; type=&#34;text/javascript&#34;&#62;&#60;!--mce:1--&#62;&#60;/script&#62; &#60;!-- context menu plugin js --&#62; &#60;!-- context menu style sheet--&#62; &#160; &#60;ul id=&#34;myMenu&#34; class=&#34;contextMenu&#34;&#62; &#160; &#60;li class=&#34;edit&#34;&#62; &#60;a href=&#34;#edit&#34;&#62;Edit&#60;/a&#62;&#60;/li&#62; &#160; &#160; &#60;li class=&#34;cut separator&#34;&#62; &#60;a href=&#34;#cut&#34;&#62;Cut&#60;/a&#62;&#60;/li&#62; &#160; &#160; &#60;li class=&#34;copy&#34;&#62; &#60;a href=&#34;#copy&#34;&#62;Copy&#60;/a&#62;&#60;/li&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>大家有否覺得瀏覽網頁，每一次都只用右鍵，是否覺得有點單調呢。</p>
<p>所以今天就介紹一個東西可以助你自訂右制的content menu，還可以自己加入不同的圖示，非常方便。</p>
<p>當你需要做web-base 的system 就好需要這個plugin 呢~</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2010/04/screenshot2.jpg"><img class="alignnone size-full wp-image-2045" title="screenshot2" src="http://lab.chowky.com/wp-content/uploads/2010/04/screenshot2.jpg" alt="" width="234" height="191" /></a></p>
<p>用法:<br />
<span id="more-2044"></span></p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">&lt;!-- necessary libraray --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery-1.4.2.min.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--mce:0--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- jQuery Core --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery.contextMenu.js&quot;</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span><span style="color: #808080; font-style: italic;">&lt;!--mce:1--&gt;</span><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- context menu plugin js --&gt;</span>
 <span style="color: #808080; font-style: italic;">&lt;!-- context menu style sheet--&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;myMenu&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;contextMenu&quot;</span>&gt;</span>
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;edit&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#edit&quot;</span>&gt;</span>Edit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
&nbsp;
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;cut separator&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#cut&quot;</span>&gt;</span>Cut<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
&nbsp;
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;copy&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#copy&quot;</span>&gt;</span>Copy<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
&nbsp;
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;paste&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#paste&quot;</span>&gt;</span>Paste<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
&nbsp;
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;delete&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#delete&quot;</span>&gt;</span>Delete<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
&nbsp;
&nbsp;
	<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;quit separator&quot;</span>&gt;</span>
        <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#quit&quot;</span>&gt;</span>Quit<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span></pre></div></div>

<p>加入jquery dom ready 的 javascript</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<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>
&nbsp;
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#selector&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">contextMenu</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
        menu<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span>myMenu<span style="color: #3366CC;">''</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
        <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>action<span style="color: #339933;">,</span> el<span style="color: #339933;">,</span> pos<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>
            <span style="color: #3366CC;">''</span>Action<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span> <span style="color: #339933;">+</span> action <span style="color: #339933;">+</span> <span style="color: #3366CC;">''</span>\n\n<span style="color: #3366CC;">''</span> <span style="color: #339933;">+</span>
            <span style="color: #3366CC;">''</span>Element ID<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span> <span style="color: #339933;">+</span> $<span style="color: #009900;">&#40;</span>el<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">''</span>id<span style="color: #3366CC;">''</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">''</span>\n\n<span style="color: #3366CC;">''</span> <span style="color: #339933;">+</span>
            <span style="color: #3366CC;">''</span>X<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span> <span style="color: #339933;">+</span> pos.<span style="color: #660066;">x</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">''</span>  Y<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span> <span style="color: #339933;">+</span> pos.<span style="color: #660066;">y</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">''</span> <span style="color: #009900;">&#40;</span>relative to element<span style="color: #009900;">&#41;</span>\n\n<span style="color: #3366CC;">''</span> <span style="color: #339933;">+</span>
            <span style="color: #3366CC;">''</span>X<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span> <span style="color: #339933;">+</span> pos.<span style="color: #660066;">docX</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">''</span>  Y<span style="color: #339933;">:</span> <span style="color: #3366CC;">''</span> <span style="color: #339933;">+</span> pos.<span style="color: #660066;">docY</span><span style="color: #339933;">+</span> <span style="color: #3366CC;">''</span> <span style="color: #009900;">&#40;</span>relative to document<span style="color: #009900;">&#41;</span><span style="color: #3366CC;">''</span>
            <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Demo 示範:<a href="http://labs.abeautifulsite.net/projects/js/jquery/contextMenu/demo/">http://labs.abeautifulsite.net/projects/js/jquery/contextMenu/demo/</a><br />
License: Dual License (GPL and MIT)<br />
Source: <a href="http://abeautifulsite.net/2008/09/jquery-context-menu-plugin">http://abeautifulsite.net/2008/09/jquery-context-menu-plugin</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2044" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2010%2F04%2Fjquery-%25e8%2587%25aa%25e8%25a8%2582%25e5%258f%25b3%25e9%258d%25b5-context-menu%2F&amp;title=%5BjQuery%5D%20%E8%87%AA%E8%A8%82%E5%8F%B3%E9%8D%B5%20context%20menu" id="wpa2a_8"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2010/04/jquery-%e8%87%aa%e8%a8%82%e5%8f%b3%e9%8d%b5-context-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[jQuery] iPod-Like Dropdown List Sample</title>
		<link>http://lab.chowky.com/2010/04/jquery-ipod-like-dropdown-list-sample/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-ipod-like-dropdown-list-sample</link>
		<comments>http://lab.chowky.com/2010/04/jquery-ipod-like-dropdown-list-sample/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 10:20:44 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[dropdown list]]></category>
		<category><![CDATA[ipod-like]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=2034</guid>
		<description><![CDATA[這個jquery 的dropdown list. 可以做到類似ipod 的drilldown 的做法。可以chowky 沒有用過ipod ，所以覺得有點新奇，所以分享給大家~ 原來都幾易用呢~ 可能大家都見過，不過呢~，近來~這個plugin 加入了去jquery ui 作為component，所以支援了apply 不同 theme 的能力，所以大家可以隨便換theme ，都幾好用呢~。 用法好簡單，html的basic structure 都是利用常用的 unorder list &#8220;ul&#8221; 和 &#8220;li&#8221;。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 &#160; &#60;script type=&#34;text/javascript&#34; src=&#34;jquery-1.3.2.min.js&#34;&#62;&#60;/script&#62; &#60;!-- jQuery core --&#62; &#60;script type=&#34;text/javascript&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>這個jquery 的dropdown list. 可以做到類似ipod 的drilldown 的做法。可以chowky 沒有用過ipod ，所以覺得有點新奇，所以分享給大家~</p>
<p>原來都幾易用呢~</p>
<p>可能大家都見過，不過呢~，近來~這個plugin 加入了去jquery ui 作為component，所以支援了apply 不同 theme 的能力，所以大家可以隨便換theme ，都幾好用呢~。</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2010/04/screenshot1.jpg"><img src="http://lab.chowky.com/wp-content/uploads/2010/04/screenshot1.jpg" alt="" title="screenshot1" width="247" height="406" class="alignnone size-full wp-image-2037" /></a></p>
<p>用法好簡單，html的basic structure 都是利用常用的 unorder list &#8220;ul&#8221; 和 &#8220;li&#8221;。<br />
<span id="more-2034"></span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;">&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;jquery-1.3.2.min.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- jQuery core --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> <span style="color: #000066;">src</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fg.menu.js&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- dropdown list plugin --&gt;</span>
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;fg.menu.css&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- dropdown list style sheet --&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">link</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;theme/ui.all.css&quot;</span> <span style="color: #000066;">media</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen&quot;</span> <span style="color: #000066;">rel</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span> <span style="color: #808080; font-style: italic;">&lt;!-- jQuery UI theme --&gt;</span>
&nbsp;
&nbsp;
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu option<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu option<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu option<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Child menu option<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Child menu option<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Child menu option<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;#&quot;</span>&gt;</span>Menu option<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span></pre></td></tr></table></div>

<p>之後dom ready 時加上init 的code</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span>document<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>
	$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#myMenuButton'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">menu</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
		content<span style="color: #339933;">:</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'#myContent'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>		
		maxHeight<span style="color: #339933;">:</span> <span style="color: #CC0000;">180</span><span style="color: #339933;">,</span>
		positionOpts<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span> offsetX<span style="color: #339933;">:</span> <span style="color: #CC0000;">10</span><span style="color: #339933;">,</span> offsetY<span style="color: #339933;">:</span> <span style="color: #CC0000;">20</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
		showSpeed<span style="color: #339933;">:</span> <span style="color: #CC0000;">300</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Demo 效果: <a href="http://www.filamentgroup.com/examples/menus/ipod.php">http://www.filamentgroup.com/examples/menus/ipod.php</a><br />
License: MIT and GPL<br />
Source: <a href="http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/">http://www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=2034" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2010%2F04%2Fjquery-ipod-like-dropdown-list-sample%2F&amp;title=%5BjQuery%5D%20iPod-Like%20Dropdown%20List%20Sample" id="wpa2a_10"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2010/04/jquery-ipod-like-dropdown-list-sample/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[jQuery] Javascript Game Engine (gameQuery) !?</title>
		<link>http://lab.chowky.com/2010/03/jquery-javascript-game-engine-gamequery/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-javascript-game-engine-gamequery</link>
		<comments>http://lab.chowky.com/2010/03/jquery-javascript-game-engine-gamequery/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 04:09:49 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1944</guid>
		<description><![CDATA[聽到都覺得莫名其妙。 不過有人竟然開始就把這個做出來~，佩服 Sprite 的hit test 其實都很花時間的。所以大家暫時不是考慮真正的使用。看來只能佩服一下而已~ 當然，簡單的minigame 應該都是可以做到的。 gameQuery has the following features: * multi layer-sprite animations * sprite hierarchies (grouping) * collision detection * swappable sound support * periodic callbacks * keyboard state polling * free and open source license 期待他們做到一個很理想的engine~ Source: http://gamequery.onaluf.org/]]></description>
			<content:encoded><![CDATA[<p><a href="http://lab.chowky.com/wp-content/uploads/2010/03/screenshot1.jpg"><img class="alignnone size-medium wp-image-1945" title="screenshot1" src="http://lab.chowky.com/wp-content/uploads/2010/03/screenshot1-300x229.jpg" alt="" width="300" height="229" /></a>聽到都覺得莫名其妙。</p>
<p>不過有人竟然開始就把這個做出來~，佩服</p>
<p>Sprite 的hit test 其實都很花時間的。所以大家暫時不是考慮真正的使用。看來只能佩服一下而已~</p>
<p>當然，簡單的minigame 應該都是可以做到的。</p>
<blockquote><p>gameQuery has the following features:</p>
<p>* multi layer-sprite animations<br />
* sprite hierarchies (grouping)<br />
* collision detection<br />
* swappable sound support<br />
* periodic callbacks<br />
* keyboard state polling<br />
* free and open source license</p></blockquote>
<p>期待他們做到一個很理想的engine~</p>
<p>Source: <a href="http://gamequery.onaluf.org/">http://gamequery.onaluf.org/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1944" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2010%2F03%2Fjquery-javascript-game-engine-gamequery%2F&amp;title=%5BjQuery%5D%20Javascript%20Game%20Engine%20%28gameQuery%29%20%21%3F" id="wpa2a_12"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2010/03/jquery-javascript-game-engine-gamequery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[jQuery] 1.3.2 和 1.4 的比較</title>
		<link>http://lab.chowky.com/2010/01/jquery-1-3-2-%e5%92%8c-1-4-%e7%9a%84%e6%af%94%e8%bc%83/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-1-3-2-%25e5%2592%258c-1-4-%25e7%259a%2584%25e6%25af%2594%25e8%25bc%2583</link>
		<comments>http://lab.chowky.com/2010/01/jquery-1-3-2-%e5%92%8c-1-4-%e7%9a%84%e6%af%94%e8%bc%83/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 09:13:55 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[1.3.1]]></category>
		<category><![CDATA[1.4]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[比較]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1774</guid>
		<description><![CDATA[jQuery 近來都差不多成為最多人用的javascript framework 了。 近來jQuery 推出新的release 1.4. 聽聞 performance 改善了很多。 No. of Function Calls (因為減少了很多不必要 method 的call，可能就是大大改善performance 的原因) dom 的insertion 看來需要的時間真是快了很多 (ie 系列快了很多) Performance of .html() ，重大的speed 改善 Performance of .remove() and .empty() ，很強呢~ Lets take a closest look at some useful changes * All setter method now accept a function as value: .css(), .attr(), [...]]]></description>
			<content:encoded><![CDATA[<p>jQuery 近來都差不多成為最多人用的javascript framework 了。</p>
<p>近來jQuery 推出新的release 1.4. 聽聞 performance 改善了很多。</p>
<p>No. of Function Calls (因為減少了很多不必要 method 的call，可能就是大大改善performance 的原因)<br />
<img src="http://farm5.static.flickr.com/4008/4271690739_c854c4bb83_o.png" alt="" width="614" height="461" /></p>
<p>dom 的insertion 看來需要的時間真是快了很多 (ie 系列快了很多)<br />
<img src="http://farm5.static.flickr.com/4029/4271691471_1240afd5af.jpg" alt="" /><br />
<span id="more-1774"></span><br />
Performance of .html() ，重大的speed 改善<br />
<img src="http://farm5.static.flickr.com/4037/4271691747_0cce01a33d.jpg" alt="" /></p>
<p>Performance of .remove() and .empty() ，很強呢~<br />
<img src="http://farm3.static.flickr.com/2693/4271690883_3224979b9b.jpg" alt="" /></p>
<blockquote><p>Lets take a closest look at some useful changes</p>
<p>*<br />
All setter method now accept a function as value:</p>
<p>.css(), .attr(), .val(), .html(), .text(), .append(), .prepend(), .before(), .after(),.replaceWith(), .wrap(), .wrapInner(), .offset(), .addClass(), .removeClass(), and.toggleClass().</p>
<p>$(&#8216;div.demo-container&#8217;).html(function() { var emph = &#8221; + $(&#8216;p&#8217;).length + &#8216; paragraphs!&#8217;; return &#8216;All new content for &#8216; + emph + &#8221;; });</p>
<p>*<br />
Quick Element Construction:</p>
<p>When you create a single element with the jQuery function, you can now pass in an object to add attributes and events at the same time:</p>
<p>jQuery(&#8221;</p>
<div>&#8220;, { id: &#8220;foo&#8221;, css: { height: &#8220;50px&#8221;, width: &#8220;50px&#8221;, color: &#8220;blue&#8221;, backgroundColor: &#8220;#ccc&#8221; }, click: function() { $(this).css(&#8220;backgroundColor&#8221;, &#8220;red&#8221;); } }).appendTo(&#8220;body&#8221;);</p>
<p>* Event Multi-binding:<br />
You can now pass an object of many events to bind to an element:</p>
<p>$(&#8220;div.test&#8221;).bind({ click: function(){ $(this).addClass(&#8220;active&#8221;); }, mouseenter: function(){ $(this).addClass(&#8220;inside&#8221;); }, mouseleave: function(){ $(this).removeClass(&#8220;inside&#8221;); } });</p>
<p>* All Events Can Be Live Events:<br />
Has been introduced cross-browser support for change, submit, focusin, focusout, mouseenter, and mouseleave via the event delegation in .live(). Note that if you need a live focus event, you should use focusin and focusout rather than focus and blur, because focus and blur do not bubble. Also, live() also now accepts a data object, just as bind() has:</p>
<p>$(&#8220;p&#8221;).live(&#8220;myCustomEvent&#8221;, function(e, myName, myValue){ $(this).text(&#8220;Hi there!&#8221;); $(&#8220;span&#8221;).stop().css(&#8220;opacity&#8221;, 1) .text(&#8220;myName = &#8221; + myName) .fadeIn(30).fadeOut(1000); }); $(&#8220;button&#8221;).click(function () { $(&#8220;p&#8221;).trigger(&#8220;myCustomEvent&#8221;); });</p>
<p>* before, after, replaceWith on disconnected nodes:<br />
You can now use before, after, and replaceWith on nodes that are not attached to the DOM. This allows you to do more complex manipulations before inserting the final structure into the DOM.</p>
<p>jQuery(&#8221; &#8220;).before(&#8220;Hello&#8221;).appendTo(&#8220;body&#8221;)</p>
<p>* .offset( coords | Function )<br />
It is now possible to set the offset of an element. Offset, like all setter methods, can now also accept a function as a second argument.</p>
<p>$(MyEl).offset({ top: 10, left: 30 });</p>
<p>* New .delay() method:<br />
The .delay() method will delay any further elements in the queue for the specified number of milliseconds.</p>
<p>$(&#8220;div&#8221;).fadeIn().delay(4000).fadeOut();</p>
</div>
</blockquote>
<p>developer 當然會擔心，update 了之後會有問題。<br />
但~其實只有很少的地方是incompatible 已而~</p>
<blockquote><p>* .add() no longer plainly concatenates the results together, the results are merged and then sorted in document order.<br />
* .clone(true) now copies events AND data instead of just events.<br />
* jQuery.data(elem) no longer returns an id, it returns the element’s object cache instead.<br />
* jQuery() (with no arguments) no longer converts to jQuery(document).<br />
* .val(“…”) on an option or a checkbox is no longer ambiguous (it will always select by value now, not by text value).<br />
* jQuery.browser.version now returns engine version.<br />
* jQuery is now strict about incoming JSON and throw an exception if we get malformed JSON. If you need to be able to evaluate malformed JSON that is valid JavaScript, you can make a text request and use eval() to evaluate the contents.<br />
* Param serialization now happens in the PHP/Rails style by default. You can use jQuery.ajaxSettings.traditional = true; to use traditional parameter serialization. You can also set the behavior on a per-request basis by passing traditional: true to the jQuery.ajax method.<br />
* jQuery.extend(true, …) No longer extends non-plain-objects or arrays.<br />
* If an Ajax request is made without specifying a dataType and it is returned as text/javascript, it will be executed. Previously, an explicit dataType was required.<br />
* Setting an Ajax request’s ifModified now takes ETags into consideration.</p></blockquote>
<p>Source: <a href="http://blog.skitsanos.com/2010/01/what-is-new-in-jquery-14-features-for.html">http://blog.skitsanos.com/2010/01/what-is-new-in-jquery-14-features-for.html</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1774" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2010%2F01%2Fjquery-1-3-2-%25e5%2592%258c-1-4-%25e7%259a%2584%25e6%25af%2594%25e8%25bc%2583%2F&amp;title=%5BjQuery%5D%201.3.2%20%E5%92%8C%201.4%20%E7%9A%84%E6%AF%94%E8%BC%83" id="wpa2a_14"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2010/01/jquery-1-3-2-%e5%92%8c-1-4-%e7%9a%84%e6%af%94%e8%bc%83/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Website Navigation Usability 小貼士</title>
		<link>http://lab.chowky.com/2009/12/website-navigation-usability-%e5%b0%8f%e8%b2%bc%e5%a3%ab/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=website-navigation-usability-%25e5%25b0%258f%25e8%25b2%25bc%25e5%25a3%25ab</link>
		<comments>http://lab.chowky.com/2009/12/website-navigation-usability-%e5%b0%8f%e8%b2%bc%e5%a3%ab/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 09:29:25 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1699</guid>
		<description><![CDATA[每一個 website ，除了 visual 上要設計之外，navigation 上的設計其實更為重要。 試問user click來click 去都找不到自己想要的information。這種website 的user experience 一定不會好，即使visual 上做得好好，都只是一個外觀很好的website。 User 找不到想要的info，看完就算，對於你的目標，就是否這麼簡單呢？你可能會失到potential customers。 所以website navigation 上面一定要花心機去令website 更容易去browse. 這方面就應該要參考一下其他人的做法呢。 1. 簡潔的 Menu Navigation 這個例子當然會是apple 的design。直接的表達，就會避免混亂，而且可以令到visitors 更容易找到想要的資料 2. 加上主頁的link去自己的logo 上 現在很多不同的website 都已經是這樣做了，差不多是 standard 做法，最重要的是visitors 早已習慣。 3. 準確易明的的Link Description 若果文字上能夠做到簡單易明，visitor 就會能夠expect 之後出現的content. 4. Site Map 當然對於靜態（static）的website 就要自己再寫多頁，平常使用的cms 就一定會有這種功能。一個sitemap 可以讓vistor 很快就找到自己想要的content. 而且sitemap 對SEO 會有很大的幫助。若果你的網站是很大就一定要有啦～ 5. 搜尋功能 [...]]]></description>
			<content:encoded><![CDATA[<p>每一個 website ，除了 visual 上要設計之外，navigation 上的設計其實更為重要。 試問user click來click 去都找不到自己想要的information。這種website 的user experience 一定不會好，即使visual 上做得好好，都只是一個外觀很好的website。</p>
<p>User 找不到想要的info，看完就算，對於你的目標，就是否這麼簡單呢？你可能會失到potential customers。</p>
<p>所以website navigation 上面一定要花心機去令website 更容易去browse.</p>
<p>這方面就應該要參考一下其他人的做法呢。</p>
<p>1. 簡潔的 Menu Navigation<br />
這個例子當然會是apple 的design。直接的表達，就會避免混亂，而且可以令到visitors 更容易找到想要的資料<br />
<img src="http://blog.webassist.com/wp-content/uploads/apple1.png" alt="" width="640" height="38" /></p>
<p>2. 加上主頁的link去自己的logo 上<br />
現在很多不同的website 都已經是這樣做了，差不多是 standard 做法，最重要的是visitors 早已習慣。<br />
<img src="http://blog.webassist.com/wp-content/uploads/adobe.png" alt="" width="640" height="60" /><br />
<span id="more-1699"></span><br />
3. 準確易明的的Link Description<br />
若果文字上能夠做到簡單易明，visitor 就會能夠expect 之後出現的content.<br />
<img src="http://blog.webassist.com/wp-content/uploads/dell.png" alt="" width="640" height="56" /></p>
<p>4. Site Map<br />
當然對於靜態（static）的website 就要自己再寫多頁，平常使用的cms 就一定會有這種功能。一個sitemap 可以讓vistor 很快就找到自己想要的content. 而且sitemap 對SEO 會有很大的幫助。若果你的網站是很大就一定要有啦～<br />
<img src="http://blog.webassist.com/wp-content/uploads/bestbuy.png" alt="" width="640" height="114" /></p>
<p>5. 搜尋功能<br />
當你的website 的content 比較多的時候，人們就會直接search，可能visitor 已經有一些特定的目標，有個search 的功能就令visitor 很快找到想要的features / products 。所以必定要加！<br />
你可以選擇，利用google 的custom search 的功能 or custom made，當然正常的CMS 就已經會加上site search這個功能。<br />
<img src="http://blog.webassist.com/wp-content/uploads/walmart.png" alt="" width="640" height="76" /></p>
<p>6. Navigation Active State<br />
這個可以令visitors 可以立即知道自己哪一個地方。<br />
<img src="http://blog.webassist.com/wp-content/uploads/webassist.png" alt="" width="640" height="50" /></p>
<p>7. Breadcrumbs<br />
當click 左入不同的links 之後，就會忘記是怎樣click 的呢～這個是適合一些很大的website。這個功能可以令user 知道自己website 的位置。<br />
<img src="http://blog.webassist.com/wp-content/uploads/amazon.png" alt="" width="640" height="111" /></p>
<p>Source: <a href="http://blog.webassist.com/2009/12/7-crucial-usability-tips-for-website-navigation/">http://blog.webassist.com/2009/12/7-crucial-usability-tips-for-website-navigation/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1699" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F12%2Fwebsite-navigation-usability-%25e5%25b0%258f%25e8%25b2%25bc%25e5%25a3%25ab%2F&amp;title=Website%20Navigation%20Usability%20%E5%B0%8F%E8%B2%BC%E5%A3%AB" id="wpa2a_16"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/12/website-navigation-usability-%e5%b0%8f%e8%b2%bc%e5%a3%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[CSS] Radioactive Buttons (Safari 4.x, Google Chrome Only)</title>
		<link>http://lab.chowky.com/2009/12/css-radioactive-buttons-safari-4-x-google-chrome-only/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css-radioactive-buttons-safari-4-x-google-chrome-only</link>
		<comments>http://lab.chowky.com/2009/12/css-radioactive-buttons-safari-4-x-google-chrome-only/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 08:11:27 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[glowing effect]]></category>
		<category><![CDATA[google chrome]]></category>
		<category><![CDATA[radioactive button]]></category>
		<category><![CDATA[safari 4.x]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1648</guid>
		<description><![CDATA[就近聖誕，當然要加入一些聖誕元素呢~~。 這個demo 就教你利用webkit 的css animation 去做一個閃閃下的button~~.. 因為是利用了webkit 的關係，所以~~&#8230;..只可以做到safari, google chrome show 到出來。 做法就很簡單 (當然是因為利用了css 的animation) //Animation @-webkit-keyframes greenPulse { from { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; } 50% { background-color: #91bd09; -webkit-box-shadow:: 0 0 18px #91bd09; } to { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; } } //把 button 的class 加入effect a.green.button [...]]]></description>
			<content:encoded><![CDATA[<p>就近聖誕，當然要加入一些聖誕元素呢~~。</p>
<p>這個demo 就教你利用webkit 的css animation 去做一個閃閃下的button~~..</p>
<p>因為是利用了webkit 的關係，所以~~&#8230;..只可以做到safari, google chrome show 到出來。</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2009/12/radioactive_button.JPG"><img src="http://lab.chowky.com/wp-content/uploads/2009/12/radioactive_button-300x64.jpg" alt="radioactive_button" title="radioactive_button" width="300" height="64" class="alignnone size-medium wp-image-1649" /></a></p>
<p>做法就很簡單 (當然是因為利用了css 的animation)<br />
<span id="more-1648"></span></p>
<pre code="css" line="1">
//Animation
@-webkit-keyframes greenPulse {
from { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; }
50% { background-color: #91bd09; -webkit-box-shadow:: 0 0 18px #91bd09; }
to { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; }
}
</pre>
<pre code="css" line="1">
//把 button 的class 加入effect
a.green.button {
-webkit-animation-name: greenPulse;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: infinite;
}
</pre>
<p>Source: <a href="http://www.zurb.com/playground/radioactive-buttons">http://www.zurb.com/playground/radioactive-buttons</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1648" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F12%2Fcss-radioactive-buttons-safari-4-x-google-chrome-only%2F&amp;title=%5BCSS%5D%20Radioactive%20Buttons%20%28Safari%204.x%2C%20Google%20Chrome%20Only%29" id="wpa2a_18"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/12/css-radioactive-buttons-safari-4-x-google-chrome-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Appcelerator Titanium 一個很有趣的工具 + 比較</title>
		<link>http://lab.chowky.com/2009/10/appcelerator-titanium-%e4%b8%80%e5%80%8b%e5%be%88%e6%9c%89%e8%b6%a3%e7%9a%84%e5%b7%a5%e5%85%b7-%e6%af%94%e8%bc%83/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=appcelerator-titanium-%25e4%25b8%2580%25e5%2580%258b%25e5%25be%2588%25e6%259c%2589%25e8%25b6%25a3%25e7%259a%2584%25e5%25b7%25a5%25e5%2585%25b7-%25e6%25af%2594%25e8%25bc%2583</link>
		<comments>http://lab.chowky.com/2009/10/appcelerator-titanium-%e4%b8%80%e5%80%8b%e5%be%88%e6%9c%89%e8%b6%a3%e7%9a%84%e5%b7%a5%e5%85%b7-%e6%af%94%e8%bc%83/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 15:04:34 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1461</guid>
		<description><![CDATA[雖然chowky 已經知道這個工具很久，不過覺得這套工具未成熟，所以沒有理會。 直至今天嘗試開發專為 iphone 的 web。在找尋的過程之中，又看到這個工具，看來已經比之前好成長了不少。於是，今天就看看是怎樣的東西~ 首先是titanium 是 opensource，另外這件東的 concept 其實不錯的，真的有點似adobe air，mobile, desktop 的version 都有buildin 的sqlite support。 主要的分別，titanium 就是compiled and run in native OS，所以分為，mobile version, desktop version and web version ，而 ADOBE AIR 就放在flash platform / AIR 之中。而titanium 就比adobe air 走快了一步，支援了mobile (iphone and andriod) ，所以都有些人認為是air 的最大的competitor (為什麼沒有m$ 的silverlight，不入流呢)。 另外就說說怎樣開發~ Titanium 很特別 (有好有壞)，他應用了web technology，所以要用到html/css/javascript 另外還可以用ruby, python, [...]]]></description>
			<content:encoded><![CDATA[<p>雖然chowky 已經知道這個工具很久，不過覺得這套工具未成熟，所以沒有理會。 直至今天嘗試開發專為 iphone 的 web。在找尋的過程之中，又看到這個工具，看來已經比之前好成長了不少。於是，今天就看看是怎樣的東西~</p>
<p>首先是titanium 是 opensource，另外這件東的 concept 其實不錯的，真的有點似adobe air，mobile, desktop 的version 都有buildin 的sqlite support。 主要的分別，titanium 就是compiled and run in native OS，所以分為，mobile version, desktop version and web version ，而 ADOBE AIR 就放在flash platform / AIR 之中。而titanium 就比adobe air 走快了一步，支援了mobile (iphone and andriod) ，所以都有些人認為是air 的最大的competitor (為什麼沒有m$ 的silverlight，不入流呢)。</p>
<p><img src="http://www.appcelerator.com/wp-content/themes/app/images/mobilearch.png" alt="" /></p>
<p><img src="http://www.appcelerator.com/wp-content/themes/app/images/desktoparch.png" alt="" /><br />
<span id="more-1461"></span><br />
另外就說說怎樣開發~<br />
Titanium 很特別 (有好有壞)，他應用了web technology，所以要用到html/css/javascript 另外還可以用ruby, python, php (這方面真的很怪)</p>
<p>Adobe Air 就利用了flex + actionscript 3.0 (大家都應該熟的呢~)</p>
<p>[都說說silverlight... 利用了.net framework ，所以可以用c# / vb (chowky 只會用c#，不是chowky 不懂，只是利用vb 這個structured language 來做object oriented 的programming... 很難接受呢)。這方面silverlight 和air 相似，大家都要install runtime 才可以用得到]</p>
<p>chowky 雖然覺得titanium 的concept 不錯，可惜的是，immature，documentation 不足夠。 搞到chowky 看了很多零碎的documentation.</p>
<p>titanium 其實有點怪呢，利用了web 技術  (有點說不通) ， 因為web 是stateless 的所以才會有 session 的，而 titanium 就利用了app: ，取代了&#8221;http:&#8221;  (desktop 都要navigateURL&#8230;.不習慣~)</p>
<p>另外，就是加入了php, python, ruby，(大家有無奇怪呢，這些是server-side programming, ruby好像不是server-side&#8230;，anyway, web 向來都是 client-server architecture 的)。titanium 的做法，就是加入</p>
<pre><span style="font-family: monospace;">
<pre style="font: normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><code>&lt;script &gt;&lt;/script&gt; (這是基本的javasciprt)</code></pre>
<p></span></pre>
<pre><code>&lt;script type="text/php"&gt;&lt;/script&gt;
</code></pre>
<pre><span style="font-family: monospace;">
<pre style="font: normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><code>&lt;script type="text/pyton"&gt;&lt;/script&gt;
<pre style="font: normal normal normal 12px/18px Consolas, Monaco, 'Courier New', Courier, monospace;"><code>&lt;script type="text/ruby"&gt;&lt;/scirpt&gt;</code></pre>
<p></code></pre>
<p></span></pre>
<p>純粹javascript 開發必定很辛苦，有了php 的支援，應該好了很多呢~</p>
<p>不過值得一讚的是titanium 已經加入了collaboration / analysis / distribution 的功能，所以長期來說，如果稳定了的話，真有可能會很強呢~ 整個流程在開發工具之前已經想好。 (整個流程剛剛才在adobe 上加入)<br />
<img src="http://www.appcelerator.com/wp-content/uploads/2009/05/platform_illy_nobg1.png" alt="" /></p>
<p>題外話，究竟是否adobe 學習了titanium 的做法，直接把flash compile as 一個native 的iphone application，等apple 沒有法子阻止。</p>
<p>總結一下:</p>
<p>Titanium concept 上不錯，不過還要時proof cross platform 的能力。chowky 覺得這不算是最好時機學習。<br />
既然是native 的 OS application，desktop 的native control 方面，其實可以做深入一不點，（雖然air這方面都沒有做到）。<br />
analysis, distribution 的功能雖然有，但必定沒有adobe推出的這麼完整。<br />
做一些簡單的widget (都只是和web app 差不多，而且還有distribution 和analysis 的功能)，chowky 覺得是可以的，但中型至大型的project 就不用考慮了。</p>
<p>Source: <a href="http://www.appcelerator.com/">http://www.appcelerator.com/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1461" width="1" height="1" style="display: none;" /><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Flab.chowky.com%2F2009%2F10%2Fappcelerator-titanium-%25e4%25b8%2580%25e5%2580%258b%25e5%25be%2588%25e6%259c%2589%25e8%25b6%25a3%25e7%259a%2584%25e5%25b7%25a5%25e5%2585%25b7-%25e6%25af%2594%25e8%25bc%2583%2F&amp;title=Appcelerator%20Titanium%20%E4%B8%80%E5%80%8B%E5%BE%88%E6%9C%89%E8%B6%A3%E7%9A%84%E5%B7%A5%E5%85%B7%20%2B%20%E6%AF%94%E8%BC%83" id="wpa2a_20"><img src="http://lab.chowky.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://lab.chowky.com/2009/10/appcelerator-titanium-%e4%b8%80%e5%80%8b%e5%be%88%e6%9c%89%e8%b6%a3%e7%9a%84%e5%b7%a5%e5%85%b7-%e6%af%94%e8%bc%83/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

