Sunday, October 22, 2006

Cross Browser Compatible Dynamic Table Using DIV tags

Here is a function for createing a table using DIV tags ::

Call the function number of row times with the passing argument as array of contents to be inserted into cells.


for(i=0; i < No_Of_rows;i++)
addrow(CellContent);

function addrow(arr) {
var row = __createElement("div","myul","myul");
for (r = 0; r
< arr.length; r++)
var cell = __createElement("div","myulDiv1Hist","myulDiv1Hist");
row.appendChild(cell);
cell.innerHTML = arr[r];
}

Container.appendChild(row);
}


function __createElement(tag, cls, id) {
if(tag != "")
ele = document.createElement(tag);
if(cls != "")
ele.className=cls;
if(id != "")
ele.id=id;
return ele;
}



CSS ::

.myul{
background-color:#EAEAEA;
display:block;
float:none;
font-size:8px;
color:#000000;
}

.myulDivHist{
background-color:#9E9E9E;
color:#000000;
float: left;
width: 80px;
height:24px;
border-style: outset;
border-width: 1px;
}


I think this function will help you to get out of table incompatibilities on IE and firefox. This function is very useful when you parsing an AJAX responeXML and displaying the XML data as table.

Here is a table created with the above code ::






Friday, October 06, 2006

AKSHAYA & kudumbashree

May be the new two words to non-Keralites, but well known to Keralites, even interior, tribal or coastal areas. In my words, these two initiatives are the silent revoulton on the villages, in the state of Kerala. I think this concept of kudumbashree and AKSHAYA should be replicated in every part of world.

kudumbashree ( http://www.kudumbashree.org/ ) is state Govrntment of Kerala's mission to eradicate the poverty from evry corners. It is based on micro enterprises by group of people , who owns it and works for it. The concept is specifically for the house wifes or womans ( the people who suffers more with the poverty) to make little earnings or daily wages. This silent movement already made crores of investment and thousands of employment. The state governtment helps the community group (kudumbashree) to get loan from the banks to start the micro enterprise. The micro enterprises spawn in every sectors of the society. The other part of kudumbashree is, it has improved the agricultural sector by farming vegitables, wheat, etc, Which i feel, a big news for a consumer state like kerala (depends everything on neighbours). Even the backward districts like Wynad and Kasaragod has got lot of kudumbashree units, this shows initiatives penetration into rural areas.

AKSHAYA ( http://210.212.236.212/akshaya/ )is a e-litaracy initiatives by the governtment of Kerala. ONe of the most innovative and ambitious movement after the nearly total successful implementation of litaracy initiative by the kerla governtment. Its first implementation at the district of Malappuram made a ripples and huge response, and its on its implementation stage at the other districts. Read more at http://210.212.236.212/akshaya/.

Best of the best initiative by any state governtment in India :- 'Eradicate proverty by poverty sticken people'-- kudumbashree and 'Being a part of online community' -- AKSHAYA

I'm Back !!!

Iam back after 3 months of self exile from the world of internet !!
Its the time for a question, Is it a worhty one ??

My answer is a big YES, The reasons are many. I will figure out some of them.

First of all i got self motivated by a great person, college dropout, founder director of Gulf Dial VoIp Solutions, Mr. Sharfuddin (Sharof). He is a best example of mixing the traditional marketing stratergies with the online marketing to build a brand name, Gulf Dial. I like the way he thinks, 'Don't wait for results, Work hard, results will be yours '. He is the person motivated me to work for the RTBE (CDR) website of the Global VoIP Solutions.

Second, I read lot of articles about the current hype, WEB 2.0,AJAX, etc. Also about WEB 3.0, WEB 4.0, New web marketing strtergies, etc.

Third, I did a nearly impossible task (for me)!!! Completed the CDR part of the Gulf Dial VoIP Solutions Real Time Billing System with the help of Mr. Sharof. I came to know detailed working method of VoIP from service provider ( http://solegy.com/ ) to individual call shop and its business, marketing stratergies. I have used WSDL service provided by the solegy systems, integrate it with our website. I think iam bit lucky to get a chance to work with the future technologies. we have integrated AJAX at the client end to improve the UI (I think its the first of the RTBE-CDR website to use the deadly combination of Web services and AJAX). Even though the speed of loading time of the website is slow, but Sharof felt happy with the overall performance of the System. (Whole wesite used only 2 html pages).

Fourth, I read the book 'The Google Story' by David A. Vise, Its too inspirational, book says all about , how Sergy Brin and Larry E Page, famously known as Google Guys created the the most famous online brand name 'Google'. Started with no business ideas, but created a online virtul economy :- Google Economy. Great guys in all ways, Hats off to you Mr. Brin and Mr. Page.

The Googles idea of spending 20% employees time to their personnel innovations and stock option than huge amount salaries. I feel these two things will improve the morale of the individual employees, obviously productivity of the company.Some of the Google's new services are personnel innovations by its employees.

I missed : Phone calls from my close friends, important family functions.