Saturday, November 29, 2008

The salute to the Brave Officers

LeewayHertz salutes the brave officers who laid down their lives in protecting us and our Country including HEMANT KARKARE, ASHOK KAMTE & VIJAYSALASKAR.

We Pray for our forces who are still fighting the terrorists without thinking about their lives and family just for us.

We can at least pray for them.. JAI HIND..

Regards,
LeewayHertz Team
Post a Comment(0 comments)

Thursday, November 27, 2008

Get the rendered style of an element

I guess most of you, one time or another, has had the need to find out what style was actually rendered on an element. The easiest way to do this is through the style property followed by the specific value you’re looking for:



var intPosLeft = document.getElementById("left").style.left;

However, this only works if the CSS has been applied inline on the element. As we all (or at least most of us) have realized, having inline styles isn’t a very good and efficient approach. So then we move all our CSS to an external file and suddenly the style property return no values when checking it.



What the hell happened?


The style property is reserved for inline styles (ridiculous, if you ask me), so you need to find another way to do it. Of course, then, there’s one standard way and one Microsoft way.


I have put together a function named getStyle (yes, the name is supposed to be funny) to solve this issue for you:


I’ve updated one line for IE. The previous code worked fine as well, it’s just a matter of personal preference when it comes to code syntax.




function getStyle(oElm, strCssRule){
var strValue = "";
if(document.defaultView && document.defaultView.getComputedStyle){
strValue = document.defaultView.getComputedStyle(oElm, "").getPropertyValue(strCssRule);
}
else if(oElm.currentStyle){
strCssRule = strCssRule.replace(/\-(\w)/g, function (strMatch, p1){
return p1.toUpperCase();
});
strValue = oElm.currentStyle[strCssRule];
}
return strValue;
}

It is then called, for instance, like this:



getStyle(document.getElementById("container"), "font-size");

The first parameter is an object reference to the element you want to check, the second is the CSS name of the property you want to know the rendered value for.


Interesting to know is that specific values will return a value even if it was applied by shorthand in the CSS. For example, this will work just fine:




/* Element CSS*/
div#container{
font: 2em/2.25em Verdana, Geneva, Arial, Helvetica, sans-serif;
}

var elementFontSize = getStyle(document.getElementById("container"), "font-size");

An other interesting thing is that Firefox, Opera and Safari will returned the actual pixels of a font size applied with em, while IE only return the value in em.


Web browser compatibility


This script has been tested to work in the following web browsers:




  • IE 5.5+

  • Firefox

  • Safari

  • Opera 8.5


The reason that it doesn’t work in IE 5.0 is having a function in the replace method as a second parameter. You might want to put this in a try...catch clause if you expect any users with that version, like this:




try{
strCssRule = strCssRule.replace(/\-(\w)/g, function (strMatch, p1){
return p1.toUpperCase();
});
strValue = oElm.currentStyle[strCssRule];
}
catch(e){
// Used to prevent an error in IE 5.0
}
Post a Comment(1 comments)

This is an ultimate utility function to be used. Though you could have used some good naming conventions, but still it is very helpful utility.

Now You Can Take a Cellphone Call From Any Landline in the House

Do you find the idea of disconnecting your home phone service and using only your cellphone a tempting proposition? If so, there’s a way to cut your landline and sort of keep it too.

With the XLink (www.myxlink.com), you can connect the wired phones in your home to the service of your Bluetooth-capable cell, so that when your mobile rings, you can use a traditional home phone to see the caller ID information and actually take the call.

Using the XLink, you leave your cellphone in a part of the house that gets the best wireless reception. Two models are available: The $80 BT is for those who have already cut their home phone cord, while the $110 BTTN lets you add your cell numbers to an existing wired system.

While not the first product of its kind, the XLink does allow you to connect up to three separate cellphone numbers to your home phone network. Each phone can be assigned a distinct ring, so the appropriate family member answers. Knowing that their parents won’t inadvertently grab a call meant for them should help teenagers in the house rest easy.
Post a Comment(0 comments)

Tuesday, November 25, 2008

SAP - ERP software

About SAP and its use

ERP Software is short for Enterprise Resource Planning software. ERP software aids and controls the ERP management system, which is a system that integrates and automates all facets of business operations. This includes planning, manufacturing, and sales, while more recent ERP software products encompass marketing, inventory control, order tracking, customer service, finance and human resources as well.

SAP is an acronym for "Systeme, Anwendungen, Produkte in der Datenverarbeitung", which means "Systems, Applications and Products in data processing". The company was founded in 1972 by the former IBM employees Claus Wellenreuther, Hans-Werner Hector, Klaus Tschira, Dietmar Hopp and Hasso Plattner. As of 2005, SAP employs over 28,900 people in more than 50 countries.

SAPs products are in the Enterprise resource planning ERP business sector. The company's main product is SAP R/3, where the "R" stands for Realtime, the number 3 relates to the three tier application architecture: database, application server and client. The predecessor to R/3 was R/2. Other major offerings include APO (Advanced Planner and Optimizer), BW (Business Information Warehouse), CRM (Customer Relationship Management), SRM (Supplier Relationship Management), Human Resource Management Systems (HRMS) and KW (Knowledge Warehouse). The company also offers a new technology platform, named SAP NetWeaver. While its original products are mostly used by larger companies, SAP is now also offering products for small and medium sized enterprises (SME) with SAP Business One and SAP All In One.
Post a Comment(0 comments)

Wednesday, November 19, 2008

Indira Gandhi Priyandarshini Award presented to Leewayhertz CEO

Congratulations to Mr. Akash Takyar and LeewayHertz.... Long way to go still...



INDIRA GANDHI PRIYADARSHINI AWARD FOR EXCELLENCE, OUTSTANDING SERVICES, ACHIEVEMENTS AND CONTRIBUTION

On Wednesday, 19th November 2008, Indira Gandhi Priyadarshini Award 2008 honored to Akash Takyar for excellence, outstanding services, achievements and contribution in IT sector, at auditorium India International Centre, New Delhi. This integration was organized to mark the 89th Birth Anniversary of Late. Smt. Indira Gandhi, by National Unity Conference group for which the honorable chief guest- Minister of Labour and Employment Shri Oscar Fernandes. The other dignities included Governor of Orissa H.E Shri M.C. Bhandare, Former Election Commissioner G.V.G. Krishnamurty, Former Director Shri Joginder Singh, Secretary AICC Shri Tom Vadakkan and Mrs. Hema Gamang to speak on the occasion.

“Every young man would do well to remember that all successful businesses stand on the foundation of hard work.” Akash Takyar, a young CEO and founder of an IT company LeewayHertz Technologies Pvt. Ltd is recorded as one of the fastest growing entrepreneur of India. Despite of his young age, he is as much passionate and enthusiastic as one entrepreneur needs to be. “It is an honor to be included in the list of recipient of such an impressive group of people and to receive the prestigious “Indira Gandhi Priyadarshi Award 2008,” said “Akash Takyar”.

Akash Takyar, (born 26 October 1983, Delhi) is a computer programmer and young entrepreneur. Akash's tryst with computer began, when his father gifted him a desktop at the tender age of thirteen. Throughout his teenage life, when most of his friends were trying their hands at various outdoor games, he was busy marshalling his acumen in the ever expanding quantum of information technology. His father Kartikay, who is a famous Astrologer and Vastu expert, has always supported him for his dreams. Akash has completed his graduation and post graduation from IITM, Janak puri, Guru Gobind Singh Indraprastha University. He did his schooling from Little Angels Public School, Paschim Vihar, Delhi.

Recently he has also been nominated for the Best entrepreneur in TATA NEN Hottest Startups Awards 2008.

Post a Comment(0 comments)

Monday, November 17, 2008

Apple's iPhone 3G recently won the J.D. Power and Associates 2008 Business Wireless Smartphone Customer Satisfaction Study. So it made me curious to know some more details of this survey. Following are some of the links that I was able to find on this topic…

J.D. Power and Associates 2008 Business Wireless Smartphone Customer Satisfaction StudySM

J.D. Power and Associates 2008 Business Wireless Smartphone Customer Satisfaction Ratings


I would have also liked to know, as to how much weightage did they place on each factor and the reasons for doing so?
Post a Comment(0 comments)

Thursday, November 13, 2008

Slife 2.0 for Windows Leaves Beta



Slife, a software download that tracks what applications you use, has released a full version 2.0 for Windows. Originally only offered for the Macintosh, the Windows version has been in beta since January. Now fully functional, if you're a Windows user who's been looking to get a handle on what and how much you use particular applications now might be the time to take the plunge. Especially since both the Mac and Windows versions are now free to try.
Post a Comment(0 comments)

Wednesday, November 12, 2008

Global Recession In IT?????

IT sector apprehensive of government action

According to G. Vijayaraghavan, former Chief Executive Officer of Technopark, the government decision would be damaging to the whole sector. “While most IT firms have tightened their belt in the wake of the global recession, the decision to trim the workforce is nothing new. It happens every year. We are not talking of a mass retrenchment here. None of the laid off employees have submitted a complaint to the government,” he said.

Satish Babu, president InApp software services and secretary of the Group of Technopark Companies (GTECH), said the government action amounted to an infringement on the rights of the companies. He felt that the action may have been driven by political considerations.

“There was nothing for the government to be concerned about. Dire measures were uncalled for. No company is firing left and right. IBS, the firm in question, is not a fly-by-night operator. It is a well- established company with several years of experience and global-level operations. By creating a false impression of retrenchment, the government will only erode the credibility of the IT sector,” he added.

Mr. Babu said most companies were putting a freeze on recruitments rather than laying off employees in their bid to stand the global meltdown. “It is unfortunate that the government has adopted a confrontationist approach when it should be working with the IT sector to help it tide over the situation,” he said.

Desperate measures
Mr. Vijayaraghavan said IT firms may be forced to take desperate measures to tackle the recession. “Modern industries will need to take timely action in the face of a crisis. As many as 1,000 to 2,000 employees in Technopark may lose their jobs if the economic crisis lasts for more than six months. But all of them will return to their jobs once the crisis is over,” he said.

He flayed the government decision to carry out the inspection in full media glare. “It is a suicidal approach that could scare off investors. Already, three or four companies have moved out of Technopark over the last one year. There is urgent need for the government to send out positive signals to restore the confidence of investors,” he said.
Post a Comment(0 comments)