123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home
Source Codes
Engineering Colleges

Training  Reports
Seminar Reports
Placement Papers

Forums

   Computer Science / IT
   Electronics
   Electrical
   Mechanical
   Chemical
   Civil

   CAT / MBA

   GMAT / Foreign MBA
Latest Jobs

Engineering Jobs / Technical Jobs
Management Jobs

Sitemap
Terms of use

Displaying  Source Code(s)  
 

 
BIRTHSTONE

--------------------------------------------------------------------------------

Description : TELLS U WHAT IS UR BIRTH STONE

<script LANGUAGE="JavaScript">
//by LALITH KUMAR
<!--
function birthstone () {
var month = document.bth.inmonth.value;
var stone="Garnet"

if ((month=="January")||(month=="january")) {
stone=="Garnet" }
else {
if ((month=="February")||(month=="february")) {
stone="Amethyst" }
else {
if ((month=="March")||(month=="march")) {
stone="Aquamarine" }
else {
if ((month=="April")||(month=="april")) {
stone="Diamond" }
else { if ((month=="May")||(month=="may")) {
stone="Emrald" }
else { if ((month=="June")||(month=="june")) {
stone="Pearl" }
else {
if ((month=="July")||(month=="july")) {
stone="Ruby" }
else {
if ((month=="August")||(month=="august")) {
stone="Peridot" }
else {
if ((month=="September")||(month=="september")) {
stone="Sapphire" } else {
if ((month=="October")||(month=="october")) {
stone="Opal" }
else {
if ((month=="November")||(month=="november")) {
stone="Topaz" }
else {
if ((month=="December")||(month=="december")) {
stone="Zirion" }
else{
alert("Please Enter the month of your Birth");
stone="" }
}
}
}
}
}
}
}
}
}
}
}
document.bth.birth.value = stone;
}
-->
</script>



<form NAME="bth">
<center><table WIDTH="70%" BORDER="3" CELLSPACING="5" CELLPADDING="5" bordercolor="teal">
<tr>
<th bgcolor="#D0DBD1"">
<font FACE="ARIEL,HELVETICA" SIZE="-1"> Please enter the month of your birth:</font>
</th>
<td align="center" bgcolor="#D0DBD1"> <input TYPE="button" VALUE="My birthstone is"
onClick="birthstone()">
</td>
</tr><tr>
<td align="center" bgcolor="#D0DBD1">
<input TYPE="text" SIZE="20" NAME="inmonth"></td>
<td align="center" bgcolor="#D0DBD1">
<input TYPE="text" SIZE="20" NAME="birth">
</td>
</form>
</tr></table></center>

--------------------------------------------------------------------------------

 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG