Wednesday, December 27, 2006

innerHTML

I have few troubles about innerHTML

1, In Firefox, it can't copy the INPUT text object's value attribute and SELECT object's selectedIndex property.

2, Style sheet won't be copied from one window to the other window.

3, In the TEXTAREA, I have one space and one non-break space(nbsp). Then, I assign this TEXTAREA value into an object innerHTML, but one space left.

Tuesday, December 26, 2006

Dynamic HTML creation

I would like to compare the performance of dynamic content creation between document.createElement and innerHTML, because I were looking how to improve the very large table rendering.

I found an very interesting article :

JavaScript optimization: Adding DOM elements to document

This is definitely worth to give it a trial. I am somehow to prefer to use innHTML, because it's easy to trace down the code. But, sometimes, DOM manipulation can't be avoided.

Tuesday, December 12, 2006

Java SE Performance at a Glance


What is SUN's promotion for Java SE6?

This page http://java.sun.com/javase/technologies/performance.jsp is so old. Today, I see last article posted December 2005 and only Java 5 mentioned in this page.

Thursday, December 07, 2006

This Much I Know - » inline-block in FireFox

This Much I Know - » inline-block in FireFox

Just learn Firefox display style -moz-inline-box and -moz-inline-block.

What's the difference?
For two nesting DIVs.

When outside DIV is "-moz-inline-box" and inside DIV is "-moz-inlineblock", then
"-moz-inline-box" allows to expand the width if content length overflow.

When both outside and inside DIV are "-moz-inline-block", then
content will be overlay if inside DIV content length overflow.