We can use the below code to show an image in the mouseover of an another image.

<img src=”images/cvv2_small.gif” style=”vertical-align:top;cursor:pointer;” border=”0″ onmouseover=”ShowBigImage();” onmouseout=”ShowDefaultImage();” />

<div id=”LargeImageDiv” style=”position:absolute;z-index:100″></div>

<script type=”text/javascript”>

function ShowBigImage()
{
document.getElementById(“LargeImageDiv”).innerHTML = “<img src=’images/largecard.gif’>”;
}

function ShowDefaultImage()
{
document.getElementById(“LargeImageDiv”).innerHTML = “”;
}

</script>

We can use the below script to subtract half an hour from the given time in PHP.

<?php

date_default_timezone_set(‘UTC’);

$actualTime = strtotime(’2010-07-28 15:00:00′);

$modifiedTime = $actualTime – strtotime(’00:30:00′);

echo “Modified time: ” . date(“H:i a”, $modifiedTime);

?>

Above script gives the output as

Modified time: 14:30 pm

We can add the following script to include the “Firebug” in any browser.

<script type=’text/javascript’ src=’http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js‘></script>

In Mysql InnoDB and MYISAM are two different storage engines. By deafult the storage engine is MYISAM.

Difference between InnoDB and MyISAM :

1. InnoDB supports transactions whereas MYISAM does not. It means we can commit or roll back a transaction in InnoDB but in MYISAM once we execute a command tats it..

2. InnoDB provides row -level locking of a table whereas MYISAM provides only table-level locking.

3. InnoDB supports foreign keys whereas MYISAM does not support foreign key references. Even if you specify foreign key to a table of type MYISAM it willbe simply ignored.

4. Usually we go for InnoDB when we design large size tables and MYISAM is suitable for small size tables

function CompareDateFrom(ptr1,ptr2)
{
if(ptr2.value != ”)
{
d1 = new Date(ptr1.value);
d2 = new Date(ptr2.value);
if(d1 > d2)
{
msg = “From cannot be greater than To!”;
if(msg)
{
alert(msg);
ptr1.value = “”;
return false;
}
}
}
}

<input type=”text” name=”date_from” size=”7″ onblur=”javascript:check_date(this);CompareDateFrom (this,document.formname.date_to);”…….>

<input type=”text” name=”date_to” size=”7″….>

  • Dont keep the mobile closer to ears until the recipient answers. Because directly after dialing, the mobile phone would use it’s maximum signaling power, which is: 2watts = 33dbi. Please be careful. Please use left ear while using cell (mobile), because if we use the right one it may affect brain directly. This is a true fact from Apollo medical team.
  • Do not drink APPY FIZZ . It contains cancer causing agent.
  • Dont eat Mentos before or after drinking Coke or Pepsi coz the person will die immediately as the mixture becomes cyanide.
  • Dont eat kurkure because it contains high amount of plastic if U don’t Believe burn kurkure n u can see plastic melting.!! News report from Times of India.
  • Avoid these tablets as they are very dangerous:
      1. D-Cold
      2. Vicks action-500
      3. Actified
      4. Coldarin
      5. Co some
      6. Nice
      7. Nimulid
      8. Cetrizet-D
  • They contain Phenyl- Propanol -Amide PPA.Which Causes strokes, and these tablets are banned in U.S.

  • Cotton Ear Buds… Please do not show sympathy to people selling buds on roadside or at Signals by buying their ear buds (instead we can give them money without taking their ear buds)….. Those were made from cotton that has already been used in hospitals. They take all the dirty, blood and pus filled cotton, wash it, bleach it and use it to make ear buds.

img11

img2

img4

img5

img6

img71

img8

img9

img10

img113

img121

img13

Predominantly do Yoga regularly.

Be Careful when eating apples.
Please don’t eat the skin of the apple because it’s coated with wax.
Check before eating any of the fruits.

WAX is being used for preservation purposes and cold storage.
You might be surprised especially apples from USA and other parts are more than one year old, though it would look fresh. Becox wax is coated, preventing bacteria to enter. So it does not get dry.

Please Eat Apples after removing the wax as demonstrated below. Please follow this and let know others…

apple

apple1

apple2

Sometimes focus on a specific form element will not work in Firefox.
To make it work in Firefox, we can use settimeout function.

The function setTimeout() executes the javascript code after a specified time interval.
Syntax : setTimeout(“javascript statement”,milliseconds);

The first parameter of setTimeout() is a string that can contain any JavaScript statement.
The second parameter indicates how many milliseconds from now we want to execute the first parameter.

To focus on a particular form element, we can give the following statement :

settimeout(function() { ptr.focus();} , 0) where ‘ptr’ is the form element.

A friend whose father works for the government health inspection passed on this info.

Their job is to inspect all hawkers, their cooked food, their store hygiene, etc. They found sugar cane juice has the highest content of bacteria among all food. In fact, it has exceeded the set limit.

Hence, they had to find out why. They went round all sugar cane stores and watched the way the hawkers handled their sugar cane, wash their glasses, their entire procedure.But they couldn’t find the problem.

One day, they stayed till closing time and discovered some shocking facts! Whenever, the hawkers closed their stores, they would wash the floor with detergent.

As we know, the remaining sugarcanes will be placed at the back of the store, vertically standing and as sugarcanes are very porous, they tend to absorb whatever liquid around them.

Besides the soapy water, the dirt on hawkers’ boots, cats’ urine, etc, will all be absorbed??

A friend, who loved sugar cane juice, was pregnant. She was always drinking sugar cane juice. Anyway, one day she miscarried and the fetus was already like 6 or 7 months old. When the doctors did an autopsy to find out why all of a sudden the fetus had died inside her, they found traces of some chemical substance, which was found in cat urine. Large traces of it.

While it would not be able to harm adults, it was extremely toxic to babies, what more a fetus? So they tried to determine how this cat urine thing could have ended up in the fetus.

This meant that it had to be digested by the mother, right? And the only logical conclusion they could come up with was that since these sugar cane juice stall holders just leave the canes lying around on the wet and dirty floor, it would not be impossible to think that stray cats could have peed on those sugar canes or near those sugar canes.

So think carefully the next time when ordering that favourite sugar cane juice!

Let’s take action to make this world a better & safer place for ALL of us & the generations to come.
Is there anyone who is going to take Sugarcane juice from hawkers anymore?

Next Page »

Follow

Get every new post delivered to your Inbox.