Skip to main content

Posts

Showing posts from April, 2008

Elevator Story

There is a classic case in which the tenants of a large office building complained about the increasingly poor elevator service. A consulting firm specializing in elevator-related problems was employed to deal with the situation. It first established that average waiting time for elevators was too long. It then evaluated the possibilities of adding elevators, replacing existing elevators with faster ones, and introducing computer controls to improve utilization of elevators. For various reasons, none of these turned out to be satisfactory. The engineers declared the problem to be unsolvable. When exposed to the problem, a young psychologist employed in the building's personnel department made a simple suggestion that dissolved the problem. Unlike the engineers who saw the service as too slow, he saw the problem as one deriving from the boredom of those waiting for an elevator. So he decided they should be given something to do. He suggested putting mirrors in the elevator lobbies t

How to use the Firefox like a Pro?

I have consolidated some of the shortcuts to use the Firefox like a Pro. CTRL + T Opens a New Tab. CTRL + R Reloads Current Tab. ALT + Home Loads your Home/Start Page. CTRL + TAB Changes to Next Tab. CTRL + SHIFT + TAB Changes to Previous Tab. CTRL + Z Undo. CTRL + SHIFT + Z Redo. ESC Stop. CTRL + Click a Link Opens in a New Tab. CTRL + ENTER Auto Complete URL to .com SHIFT + ENTER Auto Complete URL to .net CTRL + SHIFT + ENTER Auto Complete URL to .org CTRL + SHIFT + T Restore Last Closed Tab ALT + download the linked file SHIFT + opens the link in a new window F5 reload the current tab CTRL + F5 reload the current tab and override the catch CTRL + change to the tab with this number Space scroll down CTRL + F4 close the current tab ALT + F4 close the window CTRL + N open an new firefox window CTRL + S download the current webside

How to deselect all the selection in a select ( combo ) box?

In a HTML page sometimes we may have to deslect all the selection in a select control of html. but as a user we can't do anything. But using Javascript programatically we can achieve this. Here is the sample code in Javascript. function clearSelect( selectObj ){ for (var i = 0; i < selectObj .options.length; i++) { selectObj .options[i].selected = false; } } note: we need to pass the select object as a parameter to this function. the alternative to this code is function clearSelect( selectObj ){ selectObj.selectedIndex = -1; }

Bug Fixing

The huge printing presses of a major Chicago newspaper began malfunctioning on the Saturday before Christmas, putting all the revenue for advertising that was to appear in the Sunday paper in jeopardy. None of the technicians could track down the problem. Finally, a frantic call was made to the retired printer who had worked with these presses for over 40 years. "We'll pay anything; just come in and fix them," he was told. When he arrived, he walked around for a few minutes, surveying the presses; then he approached one of the control panels and opened it. He removed a dime from his pocket, turned a screw 1/4 of a turn, and said, "The presses will now work correctly." After being profusely thanked, he was told to submit a bill for his work. The bill arrived a few days later, for $10,000.00! Not wanting to pay such a huge amount for so little work, the printer was told to please itemize his charges, with the hope that he would reduce the amount once he had to

Vanilla Ice Cream that puzzled Automobile company

This is a real story that happened between the customer of automobile company and its Customer-Care Executive. Pls read on..... A complaint was received by an automobile company: 'This is the second time I have written to you, and I don't blame you for not answering me, because I sounded crazy, but it is a fact that we have a tradition in our family of Ice-Cream for dessert after dinner each night, but the kind of ice cream varies so, every night, after we've eaten, the whole family votes on which kind of ice cream we should have and I drive down to the store to get it. It's also a fact that I recently purchased a new car since then my trips to the store have created a problem..... You see, every time I buy a vanilla ice-cream, when I start back from the store my car won't start. If I get any other kind of ice cream, the car starts just fine. I want you to know I'm serious about this question, no matter how silly it sounds "What is