Thursday, December 29, 2005

FAQTs - Knowledge Base - View Entry - How can I access the LABEL text for a INPUT field with DOM methods?

DOM should provide an method to look up field name easily.

Then, it will be helpful when do scripting for required field, spell check.

Read more at www.faqts.com/knowledge...

Wednesday, December 21, 2005

WinMerge

Finally, I got the diff tool which met my need. It can compare two files side by side. For those lines with difference, it can highlight the word difference and lists top/bottom panels.

Previously, I downloaded a copy of WinMerge from www.download.com. That was so out-of-date.

Read more at winmerge.sourceforge.ne...

Tuesday, December 20, 2005

CanvaSVG — A Static SVG Tiny 1.2 Implementation Using the <canvas> APIs

If 3D APIs are implemented in canvas, then you will see how easy to draw image. Anyway, SVG should have advantage of event handling.

Read more at fuchsia-design.com/Canv...

Apples To Oranges - CSS For Bar Graphs

I am looking a js canvas lib to do bar chart and pie chart with nice 3d effect.

Read more at apples-to-oranges.com/b...

Friday, December 16, 2005

diff

Still look for a good diff GUI. Currently, I have WinDiff, WinMerge, and ExamDiff Pro.

Generally, WinDiff can meet my requirement when comparing two files, but not directories. I can't believe why MS can't get this simple thing right. All files' name are lowercase listed when two directories are compared. When copying the different files, all files are lowercase.

I wish WinMerge shows line number in the gutter. The default font should be fixed size.

ExmaDiff Pro looks like is powerful, but not free.

Wednesday, December 14, 2005

Google home pages get even more personal | CNET News.com

Google always has some interested idea. I just browse Google homepage API. Basically, it's set of XML definition for google to construct web pages. Well, it's so call API, not for average people.

Tuesday, December 13, 2005

Set style 100% width in text field

In HTML,
<input name="subject" value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" style="width: 100%;" type="text">, IE really mess up the layout due to the very long value.

I switch to <textarea name="subject" style="overflow: hidden; width: 100%; height: 1.5em;"></textarea> and believe this is better UI. But, I need to strip out line break and, maybe, implement row auto expanding -- just like yahoo e-mail composer's TO field.

This solution is good for me, since I don't have size limition for subject field.

Monday, December 12, 2005

Opera 9

Just played around Opera 9 beta. It's a lot of imporvment. Correct style sheet problem I have. Finally, designMode is here. It's show time for HTML editor.

Tuesday, December 06, 2005

Safari 1.3 and 2.0

Just get a G4 updated to 10.4. Playing around Safari 2.02 a little bit, I didn't see any improvement in javascript.

Thursday, December 01, 2005

Javascript associative array length


var fooArray = new Array();
fooArray["a"]="a";
fooArray["b"]="b";
fooArray["c"]="c";
alert(fooArray.length);
Guss what the result is here? It's 0.