Posts Tagged javascript

8 種 Outlook like AJAX Calendar Components 的介紹和看法

chowky 覺得類似 outlook , ical 的 AJAX 的calendar好似很散,所以決定整理一下。

1. Day Pilot

這是一個為ASP.NET 而寫的一個component。成熟程度好高。還備有schedule 的 version 。

有Lite (免費,但功能會少一點)和P和Pro (當然要收錢的) version 。

daypilot1daypilot2
Source: http://www.daypilot.org

2. dhtmlxScheduler

這都是一個很成熟的component. 非常smooth。有齊daily , weekly, monthly,commercial application 其實是必定要完整的。否則一定沒有人買。

不過如果你個想寫的都要是GNU (opensource) 才可以免費使用這個calendar ,否則就要收錢了。(Dual Licensing 亦不能用的呢)

dhtml1

Demo: http://dhtmlx.com/docs/products/dhtmlxScheduler/livedemo.shtml
Source: http://dhtmlx.com/docs/products/dhtmlxScheduler/

Read the rest of this entry »

  • Share/Bookmark

, , , , , , ,

2 Comments

小心IE7 javascript 的 getElementById Method 的問題

1. 要注意用相同的 name and id attributes for Form Inputs
chowky 很久以前都覺得奇怪,不過這是因為IE系列和其他不同的browser的分別,ie 是會search 左name attribute先,再search id attribute,但是其他browser是不會的。所以兩個attributes 都要用相同的名。避免發生問題

1
<input type="text" name="full_address" id="address" value="5th Avenue" />

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 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.

1
2
<form id="contact_form">
</form>

Read the rest of this entry »

  • Share/Bookmark

, , , ,

No Comments

[Mootool] Moca User Interface Library

因為 mootool 在joomla 中是native support 的,所以chowky 就學過一下, 在找尋effect 的期間發現一個有用的user interface library,這個東西來造application ui 很有水準。

mocaui

Source: http://mochaui.com/
Demo: http://mochaui.com/demo/

  • Share/Bookmark

, , ,

No Comments