Thursday, March 31, 2005

One method to prevent advertisement annoy web client

Hi, there,

You have jumping advertisement on your website, and it looks more attractive than your content or simply annoying. At last your client get tired and blocked your advertisement. That's hurt, yeah, hurt.

So why don't you lower the opacity of your advertisement and increase the contrast of your content, which makes your client happier.

Wednesday, March 30, 2005

Javascript code to access table cell via id

function getTableCell(id, row, cell){
    var vRow = document.getElementById( id ).rows[ row ];
    var i=0, j=0;
    for(;i < vRow.childNodes.length; i ++ ){
     if( "TD" == vRow.childNodes[ i ].nodeName ){
      if( j == cell ) return vRow.childNodes[ i ];
      j ++;
    return null;

Tested on Firefox 1.02, IE6, Safari 1.2

Labels: ,

Wednesday, March 16, 2005

would google make a word processor in browser, or SUN will do this?

Saw an intersting article at Good-bye, computer; hello, world!. The most interesting phase in this article is "Every computer is your computer. Onward to the universal terminal!"