Programalama > HTML


Ort. 5
Puan ver:
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1254">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Team Giga</title>
</head>

<body bgcolor="#FFFFFF">
<script>

function astro()

  {

  var month,day;

  var b = false;

  var i=0;

  var j=0;

  while (b == false)

    {

      document.formsign.month[i].checked?b=true:i++ 

    }

  month = i+1;

  while (b == true)

    {

      document.formsign.month[j].checked?b=false:j++

    }

  day = j+1;

  if (month < 1 || month > 12)

    {document.write("<h1>Invalid Month : " + month + "</h1><br>");}

  if (day < 1 || day > 32)

    {document.write("<h1>Invalid Day : " + day + "</h1><br>");}

  if ((month == 1 && day < 20) || (month == 12 && day >= 22))

    {  document.write("<h1>You Are A Capricorn</h1>");

    }

  if ((month == 2 && day < 19) || (month == 1 && day >= 22))

    {  document.write("<h1>You Are An Aquarius</h1>");

    }

  if ((month == 3 && day < 21) || (month == 2 && day >= 24))

    {  document.write("<h1>You Are A Pisces</h1>");

    }

  if ((month == 4 && day < 20) || (month == 3 && day >= 23))

    {  document.write("<h1>You Are An Aries</h1>");

    }

  if ((month == 5 && day < 21) || (month == 4 && day >= 23))

    {  document.write("<h1>You Are A Taurus</h1>");

    }

  if ((month == 6 && day < 22) || (month == 5 && day >= 23))

    {  document.write("<h1>You Are A Gemini</h1>");

    }

  if ((month == 7 && day < 23) || (month == 6 && day >= 22))

    {  document.write("<h1>You Are A Cancer</h1>");

    }

  if ((month == 8 && day < 23) || (month == 7 && day >= 21))

    {  document.write("<h1>You Are A Leo</h1>");

    }

  if ((month == 9 && day < 23) || (month == 8 && day >= 20))

    {  document.write("<h1>You Are A Virgo</h1>");

    }

  if ((month == 10 && day < 24) || (month == 9 && day >= 21))

    {  document.write("<h1>You Are A Libra</h1>");

    }

  if ((month == 11 && day < 22) || (month == 10 && day >= 19))

    {  document.write("<h1>You Are A Scorpio</h1>");

    }

  if ((month == 12 && day < 22) || (month == 11 && day >= 20))

    {  document.write("<h1>You Are A Sagittarius</h1>");}

  

  }



</script>

<form name="formsign">
    <h3 align="center">DOĞDUĞUNUZ AYI GİRİNİZ</h3>
    <p align="center"><input type="radio" name="month" value="1">Ocak
    <input type="radio" name="month" value="2">Şubat <input
    type="radio" name="month" value="3">Mart <input type="radio"
    name="month" value="4">Nisan <input type="radio" name="month"
    value="5">Mayıs <input type="radio" name="month" value="6">Haziran
    <input type="radio" name="month" value="7">Temmuz <input
    type="radio" name="month" value="8">Ağustos <input
    type="radio" name="month" value="9">Eylül <input
    type="radio" name="month" value="10">Ekim <input type="radio"
    name="month" value="11">Kasım <input type="radio"
    name="month" value="12">Aralık<br>
    </p>
    <h3 align="center">DOĞDUĞUNUZ GÜNÜ GİRİNİZ</h3>
    <p align="center"><input type="radio" name="day" value="1">1st
    <input type="radio" name="day" value="2">2nd <input
    type="radio" name="day" value="3">3rd <input type="radio"
    name="day" value="4">4th <input type="radio" name="day"
    value="5">5th <input type="radio" name="day" value="6">6th <input
    type="radio" name="day" value="7">7th <input type="radio"
    name="day" value="8">8th <input type="radio" name="day"
    value="9">9th <input type="radio" name="day" value="10">10th <input
    type="radio" name="day" value="11">11th <input type="radio"
    name="day" value="12">12th <input type="radio" name="day"
    value="13">13th <input type="radio" name="day" value="14">14th
    <input type="radio" name="day" value="15">15th <input
    type="radio" name="day" value="16">16th <input type="radio"
    name="day" value="17">17th <input type="radio" name="day"
    value="18">18th <input type="radio" name="day" value="19">19th
    <input type="radio" name="day" value="20">20th <input
    type="radio" name="day" value="21">21th <input type="radio"
    name="day" value="22">22th <input type="radio" name="day"
    value="23">23th <input type="radio" name="day" value="24">24th
    <input type="radio" name="day" value="25">25th <input
    type="radio" name="day" value="26">26th <input type="radio"
    name="day" value="27">27th <input type="radio" name="day"
    value="28">28th <input type="radio" name="day" value="29">29th
    <input type="radio" name="day" value="30">30th <input
    type="radio" name="day" value="31">31th </p>
    <hr>
    <p align="center"><br>
    <input type="button" value="Find Out Your Astrological Sign"
    onclick="astro()"> </p>
</form>

<p align="center"><a href="http://www.adresonline.gen.tr.tc"><font
color="#FF0000" size="2" face="Tahoma"><strong><u>ADRES</u></strong></font><font
color="#0000FF" size="2" face="Tahoma"><strong><u>ONLİNE</u></strong></font></a></p>

<p align="center"><a href="http://www.adresonline.gen.tr.tc"><font
color="#FF0000" size="2" face="Tahoma"><strong>İNTERNET
KAYNAKLARI - WEBMASTER ARAÇ - GEREÇLERİ</strong></font></a></p>

<p align="center"><a href="http://www.adresonline.gen.tr.tc"><font
color="#FF0000" size="2" face="Tahoma"><strong>ARAMAK YETMEZ </strong></font><font
size="2" face="Tahoma"><strong>-</strong></font><font
color="#0000FF" size="2" face="Tahoma"><strong> BULMAK LAZIM</strong></font></a></p>
</body>
</html>


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2024 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.