<?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; javascript</title>
	<atom:link href="http://lab.chowky.com/tag/javascript/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>8 種 Outlook like AJAX Calendar Components 的介紹和看法</title>
		<link>http://lab.chowky.com/2009/09/javascript-ajax-outlook-like-calendar-components/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=javascript-ajax-outlook-like-calendar-components</link>
		<comments>http://lab.chowky.com/2009/09/javascript-ajax-outlook-like-calendar-components/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 17:30:21 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[ajax calendar]]></category>
		<category><![CDATA[calendar control]]></category>
		<category><![CDATA[commercial]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mootool]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[outlook like]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1285</guid>
		<description><![CDATA[chowky 覺得類似 outlook , ical 的 AJAX 的calendar好似很散，所以決定整理一下。 1. Day Pilot 這是一個為ASP.NET 而寫的一個component。成熟程度好高。還備有schedule 的 version 。 有Lite （免費，但功能會少一點）和P和Pro （當然要收錢的） version 。 Source: http://www.daypilot.org 2. dhtmlxScheduler 這都是一個很成熟的component. 非常smooth。有齊daily , weekly, monthly，commercial application 其實是必定要完整的。否則一定沒有人買。 不過如果你個想寫的都要是GNU (opensource） 才可以免費使用這個calendar ，否則就要收錢了。(Dual Licensing 亦不能用的呢） Demo: http://dhtmlx.com/docs/products/dhtmlxScheduler/livedemo.shtml Source: http://dhtmlx.com/docs/products/dhtmlxScheduler/ 3. Web2cal 非常smooth。成熟程度很高。暫時最似outlook calendar 的style 。雖然是commercial的，但如果你／client  不介意link back to we2cal的話。就可以免費使用。chowky 覺得這個是最好的 Component，所以很開心呢～(終於找到個合用的） Demo: [...]]]></description>
			<content:encoded><![CDATA[<p>chowky 覺得類似 outlook , ical 的 AJAX 的calendar好似很散，所以決定整理一下。</p>
<p><strong>1. Day Pilot</strong></p>
<p>這是一個為ASP.NET 而寫的一個component。成熟程度好高。還備有schedule 的  version 。</p>
<p>有Lite （免費，但功能會少一點）和P和Pro （當然要收錢的） version 。</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2009/09/daypilot1.png"><img class="alignnone size-full wp-image-1286" title="daypilot1" src="http://lab.chowky.com/wp-content/uploads/2009/09/daypilot1.png" alt="daypilot1" width="250" height="85" /></a><a href="http://lab.chowky.com/wp-content/uploads/2009/09/daypilot2.png"><img class="alignnone size-medium wp-image-1287" title="daypilot2" src="http://lab.chowky.com/wp-content/uploads/2009/09/daypilot2-300x113.png" alt="daypilot2" width="300" height="113" /></a><br />
Source: <a href="http://www.daypilot.org">http://www.daypilot.org</a></p>
<p><strong>2. dhtmlxScheduler</strong></p>
<p>這都是一個很成熟的component. 非常smooth。有齊daily , weekly, monthly，commercial application 其實是必定要完整的。否則一定沒有人買。</p>
<p>不過如果你個想寫的都要是GNU (opensource） 才可以免費使用這個calendar ，否則就要收錢了。(Dual Licensing 亦不能用的呢）</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2009/09/dhtml11.png"><img class="alignnone size-medium wp-image-1289" title="dhtml1" src="http://lab.chowky.com/wp-content/uploads/2009/09/dhtml11-300x211.png" alt="dhtml1" width="300" height="211" /></a></p>
<p>Demo: <a href="http://dhtmlx.com/docs/products/dhtmlxScheduler/livedemo.shtml">http://dhtmlx.com/docs/products/dhtmlxScheduler/livedemo.shtml</a><br />
Source: <a href="http://dhtmlx.com/docs/products/dhtmlxScheduler/">http://dhtmlx.com/docs/products/dhtmlxScheduler/</a></p>
<p><span id="more-1285"></span></p>
<p><strong>3. Web2cal</strong></p>
<p>非常smooth。成熟程度很高。暫時最似outlook calendar 的style 。雖然是commercial的，但如果你／client  不介意link back to we2cal的話。就可以免費使用。chowky 覺得這個是最好的 Component，所以很開心呢～(終於找到個合用的）</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2009/09/web2cal.png"><img class="alignnone size-medium wp-image-1294" title="web2cal" src="http://lab.chowky.com/wp-content/uploads/2009/09/web2cal-300x195.png" alt="web2cal" width="300" height="195" /></a><br />
Demo: <a href="http://www.web2cal.com/web-2-events-calendar/web-2-calendar-demo.html">http://www.web2cal.com/web-2-events-calendar/web-2-calendar-demo.html</a><br />
Source: <a href="http://www.web2cal.com/">http://www.web2cal.com/</a><br />
License:  Basic- free (required to link back every page to web2cal)<br />
Premium &#8211; Commercial</p>
<p><strong>4. MooMonth</strong></p>
<p>這個 calendar control 是基於MOOTOOL 來寫的。因為正在於early development stage 所以不建議用來做production 用途。</p>
<p>這是免費的。其實都外觀都不錯，而且又有簡單的效果。希望不隊將來會見到完成品。</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2009/09/moocalendar1.png"><img class="alignnone size-medium wp-image-1291" title="moocalendar" src="http://lab.chowky.com/wp-content/uploads/2009/09/moocalendar1-300x183.png" alt="moocalendar" width="300" height="183" /></a></p>
<p>Source: <a href="http://code.google.com/p/moomonth/">http://code.google.com/p/moomonth/</a><br />
License: LGPL</p>
<p><!--more--></p>
<p><strong>5. Plans &#8211; A Good Web Calendar</strong></p>
<p>只有monthly view ，成熟程度不夠 （免費的就要求不要這麼高呢），（不過基本要的功能都有），好處是免費。</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2009/09/Screen-shot-2009-09-04-at-12.46.44-AM.png"><img class="alignnone size-medium wp-image-1292" title="Screen shot 2009-09-04 at 12.46.44 AM" src="http://lab.chowky.com/wp-content/uploads/2009/09/Screen-shot-2009-09-04-at-12.46.44-AM-300x154.png" alt="Screen shot 2009-09-04 at 12.46.44 AM" width="300" height="154" /></a></p>
<p>Demo: <a href="http://www.planscalendar.com/demo/">http://www.planscalendar.com/demo/</a><br />
Source: <a href="http://www.planscalendar.com/">http://www.planscalendar.com/</a><br />
License: License Free</p>
<p><strong>6. JCalendar</strong></p>
<p>這個calendar 是基於主流的jquery而做的。In Early Development Stage ，production 就不要用。雖然demo 比較簡單，但其實利用CSS 的話，這個calendar 都可以包裝的不錯呢。</p>
<p>這是MIT license 。完全opensource。</p>
<p>只得monthly view ，而且功能上不夠，簡單的view 就應該無問題，其他的就&#8230;..</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2009/09/jcalendar.png"><img class="alignnone size-medium wp-image-1293" title="jcalendar" src="http://lab.chowky.com/wp-content/uploads/2009/09/jcalendar-300x190.png" alt="jcalendar" width="300" height="190" /></a></p>
<p>License: MIT<br />
Source: <a href="http://code.google.com/p/jmonthcalendar/">http://code.google.com/p/jmonthcalendar/</a></p>
<p><!--more--></p>
<p><strong>7. Full Calendar</strong></p>
<p>之前都<a href="http://lab.chowky.com/2009/05/jquery-full-calendar-with-drag-and-drop-function/">介紹</a>過。</p>
<p>這都是build  base on jquery。雖然只有monthly view，而功能上都無要收錢的大。但簡單的calendar function 都有齊，所以chowky 都prefer 這個。</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2009/05/fullcalendar.png"><img class="alignnone size-medium wp-image-345" title="fullcalendar" src="http://lab.chowky.com/wp-content/uploads/2009/05/fullcalendar-300x254.png" alt="fullcalendar" width="300" height="254" /></a></p>
<p>Demo: <a href="http://arshaw.com/fullcalendar/">http://arshaw.com/fullcalendar/<br />
</a>Source: <a href="http://arshaw.com/fullcalendar/">http://arshaw.com/fullcalendar/</a></p>
<p>License: License Free</p>
<p>Update: 2011-08-15 <a href="http://lab.chowky.com/2011/08/jquery-ajax-calendar-control-full-calendar-%E6%8E%A8%E4%BB%8B/">full calendar 加入了day view and week view</a></p>
<p><strong>8. jQuery Week Calendar</strong></p>
<p>差不多個個都是寫monthly view 的，這個就只做weekly view 的。如果只是要weekly 的，chowky 覺得這個雖然只得weekly view ，但成熟程度不會比收錢的commercial calendar control 差。而且是MIT license，所以chowky 覺得如果把Full Calendar + jQuery Week Calendar 一齊用的話，都應該不錯。</p>
<p><a href="http://lab.chowky.com/wp-content/uploads/2009/09/Screen-shot-2009-09-04-at-1.17.27-AM.png"><img class="alignnone size-medium wp-image-1295" title="Screen shot 2009-09-04 at 1.17.27 AM" src="http://lab.chowky.com/wp-content/uploads/2009/09/Screen-shot-2009-09-04-at-1.17.27-AM-300x175.png" alt="Screen shot 2009-09-04 at 1.17.27 AM" width="300" height="175" /></a></p>
<p>License: MIT License<br />
Source: <a href="http://www.redredred.com.au/projects/jquery-week-calendar/">http://www.redredred.com.au/projects/jquery-week-calendar/</a></p>
<p>總結一下：</p>
<p>根據 chowky 所看過的不同calendar control ，最值得developer 採用的應該是web2cal。</p>
<p>如果不想 link back ／ 相簡單一點，Full Calendar + jQuery Week Calendar</p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1285" 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%2F09%2Fjavascript-ajax-outlook-like-calendar-components%2F&amp;title=8%20%E7%A8%AE%20Outlook%20like%20AJAX%20Calendar%20Components%20%E7%9A%84%E4%BB%8B%E7%B4%B9%E5%92%8C%E7%9C%8B%E6%B3%95" 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/2009/09/javascript-ajax-outlook-like-calendar-components/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>小心IE7 javascript 的 getElementById Method  的問題</title>
		<link>http://lab.chowky.com/2009/08/%e5%b0%8f%e5%bf%83ie7-javascript-%e7%9a%84-getelementbyid-method-%e7%9a%84%e5%95%8f%e9%a1%8c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e5%25b0%258f%25e5%25bf%2583ie7-javascript-%25e7%259a%2584-getelementbyid-method-%25e7%259a%2584%25e5%2595%258f%25e9%25a1%258c</link>
		<comments>http://lab.chowky.com/2009/08/%e5%b0%8f%e5%bf%83ie7-javascript-%e7%9a%84-getelementbyid-method-%e7%9a%84%e5%95%8f%e9%a1%8c/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 04:29:34 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[getElementById]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[問題]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=1025</guid>
		<description><![CDATA[1. 要注意用相同的 name and id attributes for Form Inputs chowky 很久以前都覺得奇怪，不過這是因為IE系列和其他不同的browser的分別，ie 是會search 左name attribute先，再search id attribute，但是其他browser是不會的。所以兩個attributes 都要用相同的名。避免發生問題 1 &#60;input type=&#34;text&#34; name=&#34;full_address&#34; id=&#34;address&#34; value=&#34;5th Avenue&#34; /&#62; 2. 不要放name attribute 在form tag 入面。 和上面的情況非常相似，要避免IE的問題。 不過chowky 不知道name 是deprecated (哈) Also, the name attribute for forms is deprecated in XHTML Strict, so it’s not best practice anyhow. The name [...]]]></description>
			<content:encoded><![CDATA[<p>1. 要注意用相同的 name and id attributes for Form Inputs<br />
chowky 很久以前都覺得奇怪，不過這是因為IE系列和其他不同的browser的分別，ie 是會search 左name attribute先，再search id attribute，但是其他browser是不會的。所以兩個attributes 都要用相同的名。避免發生問題</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">input</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;full_address&quot;</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;address&quot;</span> <span style="color: #000066;">value</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;5th Avenue&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span></pre></td></tr></table></div>

<p>2. 不要放name attribute 在form tag 入面。<br />
和上面的情況非常相似，要避免IE的問題。</p>
<p>不過chowky 不知道name 是deprecated (哈)</p>
<blockquote><p>Also, the name attribute for forms is deprecated in XHTML Strict, so it’s not best practice anyhow. The name attribute was added to form elements in older sites, so if you’re trying to debug a getElementById issue in IE7 on some inherited code, there could be a conflict occurring due to this fact.</p></blockquote>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">form</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;contact_form&quot;</span>&gt;</span></pre></td></tr></table></div>

<p><span id="more-1025"></span><br />
3. 不要在任何element tag 中使用 id=&#8221;description&#8221;<br />
這個真的奇怪，而且chowky 都不知道，因為未試過中招呢。~<br />
不過原來好簡單。<br />
因為是ie 的name attribute 和id attribute 的衝突。<br />
大家有無留意過，每一個website都會有meta tag</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">meta</span> <span style="color: #000066;">name</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;description&quot;</span> <span style="color: #000066;">content</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;website description&quot;</span> <span style="color: #66cc66;">/</span>&gt;</span>  
<span style="color: #808080; font-style: italic;">&lt;!-- 就是這句，description 是name attribute，所以ie上其他的element 有description 要避免使用--&gt;</span></pre></td></tr></table></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">//所以這兩句get出來的value : firefox 正常，但ie6,7 就會失敗，因為meta tag 是沒有value</span>
<span style="color: #003366; font-weight: bold;">var</span> textareaBox <span style="color: #339933;">=</span> document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;description&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>textareaBox.<span style="color: #660066;">value</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>如果不能改變html 的話，就看看原文，有提供簡單的<a href="http://www.impressivewebs.com/avoiding-problems-with-javascript-getelementbyid-method-in-internet-explorer-7/">方向</a>去解決問題</p>
<p>Source: <a href="http://www.impressivewebs.com/avoiding-problems-with-javascript-getelementbyid-method-in-internet-explorer-7/">http://www.impressivewebs.com/avoiding-problems-with-javascript-getelementbyid-method-in-internet-explorer-7/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=1025" 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%2F08%2F%25e5%25b0%258f%25e5%25bf%2583ie7-javascript-%25e7%259a%2584-getelementbyid-method-%25e7%259a%2584%25e5%2595%258f%25e9%25a1%258c%2F&amp;title=%E5%B0%8F%E5%BF%83IE7%20javascript%20%E7%9A%84%20getElementById%20Method%20%20%E7%9A%84%E5%95%8F%E9%A1%8C" 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/2009/08/%e5%b0%8f%e5%bf%83ie7-javascript-%e7%9a%84-getelementbyid-method-%e7%9a%84%e5%95%8f%e9%a1%8c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Mootool] Moca User Interface Library</title>
		<link>http://lab.chowky.com/2009/04/mootool-moca-user-interface-library/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mootool-moca-user-interface-library</link>
		<comments>http://lab.chowky.com/2009/04/mootool-moca-user-interface-library/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 17:09:19 +0000</pubDate>
		<dc:creator>Chowky</dc:creator>
				<category><![CDATA[Jquery, Mootools]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[moca]]></category>
		<category><![CDATA[mootool]]></category>
		<category><![CDATA[user interface library]]></category>

		<guid isPermaLink="false">http://lab.chowky.com/?p=283</guid>
		<description><![CDATA[因為 mootool 在joomla 中是native support 的，所以chowky 就學過一下， 在找尋effect 的期間發現一個有用的user interface library，這個東西來造application ui 很有水準。 Source: http://mochaui.com/ Demo: http://mochaui.com/demo/]]></description>
			<content:encoded><![CDATA[<p>因為 mootool 在joomla 中是native support 的，所以chowky 就學過一下， 在找尋effect 的期間發現一個有用的user interface library，這個東西來造application ui 很有水準。</p>
<p><img class="alignnone size-large wp-image-284" title="mocaui" src="http://lab.chowky.com/wp-content/uploads/2009/04/mocaui-1024x336.jpg" alt="mocaui" width="596" height="195" /></p>
<p>Source: <a href="http://mochaui.com/">http://mochaui.com/</a><br />
Demo: <a href="http://mochaui.com/demo/">http://mochaui.com/demo/</a></p>
 <img src="http://lab.chowky.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=283" 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%2F04%2Fmootool-moca-user-interface-library%2F&amp;title=%5BMootool%5D%20Moca%20User%20Interface%20Library" 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/2009/04/mootool-moca-user-interface-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

