Mahesh Kumar – mahe
January 21, 2010Right click hidden in website
January 7, 2010This is the JS for website right click hidden. Use this JS into the BODY tag.
document.oncontextmenu=new Function(“return false”)
My Father
December 18, 2009Touching One…..
There was a young boy who used to come for regular practice but always played in the
reserves and never made it to the soccer eleven. While he was practicing, his father used
to sit at the far end, waiting for him.
The matches had started and for four days, he didn’t show up for practice or the quarter
or semifinals. All of a sudden he showed up for the finals, went to the coach and said,
“Coach, you have always kept me in the reserves and never let me play in the finals. But
today, please let me play.” The coach said, “Son, I’m sorry, I can’t let you. There are
better players than you and besides, it is the finals, the reputation of the school is at
stake and I cannot take a chance.” The boy pleaded, “Coach, I promise I will not let you
down. I beg of you, please let me play.” The coach had never seen the boy plead like this
before. He said, “OK, son, go, play. But remember, I am going against my better
judgment and the reputation of the school is at stake. Don’t let me down.”
The game started and the boy played like a house on fire. Every time he got the ball, he
shot a goal. Needless to say, he was the best player and the star of the game. His team
had a spectacular win.
When the game finished, the coach went up to him and said, “Son, how could I have
been so wrong in my life. I have never seen you play like this before. What happened?
How did you play so well?” The boy replied, “Coach, my father is watching me today.”
The coach turned around and looked at the place where the boy’s father used to sit.
There was no one there. He said, “Son, your father used to sit there when you came for
practice, but I don’t see anyone there today.” The boy replied, “Coach, there is something
I never told you. My father was blind. Just four days ago, he died. Today is the first day
he is watching me from above.“
Puppy
December 18, 2009Good one……
A boy went to the pet store to buy a puppy. Four of them were sitting together, priced at
$50 each. Then there was one sitting alone in a corner. The boy asked if that was from
the same litter, if it was for sale, and why it was sitting alone. The store owner replied that
it was from the same litter, it was a deformed one, and not for sale.
The boy asked what the deformity was. The store owner replied that the puppy was born
without a hip socket and had a leg missing. The boy asked, “What will you do with this
one?” The reply was it would be put to sleep. The boy asked if he could play with that
puppy. The store owner said, “Sure.” The boy picked the puppy up and the puppy licked
him on the ear. Instantly the boy decided that was the puppy he wanted to buy. The store
owner said “That is not for sale!” The boy insisted.
The store owner agreed. The boy pulled out $2 from his pocket and ran to get $48 from
his mother. As he reached the door the store owner shouted after him, “I don’t
understand why you would pay full money for this one when you could buy a good one
for the same price.” The boy didn’t say a word. He just lifted his left trouser leg and he
was wearing a brace. The pet store owner said, “I understand. Go ahead, take this one.”
Result
December 8, 2009If you focus on Result – You will never Change
If you focus on Change – You will get Result
Own Style for submit button using CSS.
November 9, 2009JS:
function changeInputstyle()
{
var els = document.getElementsByTagName(‘input’);
var elsLen = els.length;
var i = 0;
for ( i=0;i<elsLen;i++ )
{
if ( els[i].getAttribute('type') )
{
if ( els[i].getAttribute('type') == "button" || els[i].getAttribute('type') == "submit" )
{
els[i].className = 'buttonview';
}
// else
//els[i].className = ‘button’;
}
}
}
CSS:
#input[type="button"],input[type="submit"] {CSS STYLE COMES HERE}

Posted by maheshkumarm1981 


















