Advertisement
RokiAdhytama

Umur - Chapter 12-1

Jul 4th, 2022
903
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <style>
  6. .rb-wrap{position:relative;z-index:1}.ribbon{width:75%;font:bold 16px Arial,Sans-Serif!important;position:relative;background:#e51263;color:#fff;text-align:center;padding:1em 2em;margin:0 auto 3em;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.2);-moz-box-shadow:0 1px 1px rgba(0,0,0,0.2);box-shadow:0 1px 1px rgba(0,0,0,0.2)}.ribbon:before,.ribbon:after{content:"";position:absolute;display:block;bottom:-1em;border:1.5em solid #e51263;z-index:-1}.ribbon:before{left:-2em;border-right-width:1.5em;border-left-color:transparent}.ribbon:after{right:-2em;border-left-width:1.5em;border-right-color:transparent}.ribbon .ribbon-content:before,.ribbon .ribbon-content:after{content:"";position:absolute;display:block;border-style:solid;border-color:#963131 transparent transparent transparent;bottom:-1em}.ribbon .ribbon-content:before{left:0;border-width:1em 0 0 1em}.ribbon .ribbon-content:after{right:0;border-width:1em 1em 0 0}
  7. </style>
  8. <br />
  9. <div align="center" style="099padding: 6px; background: #ebebeb; border-width: 5px; border: solid #000; font-size: 10px; height: 190px; width: auto;">
  10. <br />
  11. <form name="frm">
  12. <label>Dari Tanggal:</label><input id="gd0" maxlength="2" name="gd0" onkeyup="JClear()" size="2" type="text" value="" />
  13.     <label>Bulan:</label>
  14.     <select id="gm0" name="gm0" onchange="JClear()">
  15.         <option value="01">Januari</option>
  16.         <option value="02">Februari</option>
  17.         <option value="03">Maret</option>
  18.         <option value="04">April</option>
  19.         <option value="05">Mei</option>
  20.         <option value="06">Juni</option>
  21.         <option value="07">Juli</option>
  22.         <option value="08">Agustus</option>
  23.         <option value="09">September</option>
  24.         <option value="10">Oktober</option>
  25.         <option value="11">November</option>
  26.         <option value="12">Desember</option>
  27.     </select>
  28.     <label>Tahun:</label>
  29.     <input id="gy0" maxlength="4" name="gy0" onkeyup="JClear()" size="4" type="text" value="" /><br />
  30. <label>S/D Tanggal:</label><input id="gd" maxlength="2" name="gd" onkeyup="JClear()" size="2" type="text" value="" />
  31.     <label>Bulan:</label>
  32.     <select id="gm" name="gm" onchange="JClear()">
  33.         <option value="01">Januari</option>
  34.         <option value="02">Februari</option>
  35.         <option value="03">Maret</option>
  36.         <option value="04">April</option>
  37.         <option value="05">Mei</option>
  38.         <option value="06">Juni</option>
  39.         <option value="07">Juli</option>
  40.         <option value="08">Agustus</option>
  41.         <option value="09">September</option>
  42.         <option value="10">Oktober</option>
  43.         <option value="11">November</option>
  44.         <option value="12">Desember</option>
  45.     </select>
  46.     <label>Tahun:</label>
  47.     <input id="gy" maxlength="4" name="gy" onkeyup="JClear()" size="4" type="text" value="" /><br />
  48. <br />
  49. <input id="h" name="h" onclick="USIAFunction()" type="button" value="Submit" />
  50.     <br />
  51. <br />
  52. <div class="rb-wrap">
  53. <div class="ribbon">
  54. <b class="ribbon-content"><big><span id="umur">Umurnya berapa ya?</span></big></b>
  55.      </div>
  56. </div>
  57. </form>
  58. </div>
  59. <script language="javascript" src="http://sakahayangdotcom.googlecode.com/files/prt_usia.js">
  60. </script>
  61. <script type="text/javascript">
  62. document.frm.gd0.value = '17';
  63. document.frm.gm0.value ='08';
  64. document.frm.gy0.value = '1945';
  65. now = new Date();
  66. var gy=now.getFullYear()
  67. var gm=now.getMonth()
  68. var gd=now.getDate()
  69. document.frm.gd.value = gd;
  70. if (gm<=8) document.frm.gm.value = '0'+(gm+1)
  71. else document.frm.gm.value = gm+1
  72. document.frm.gy.value = gy;
  73. </script>
  74.  
  75.  
  76.  
  77. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  78. <title>MENGHITUNG UMUR</title>
  79. </head>
  80.  
  81. <body>
  82. </body>
  83. </html>
Advertisement
RAW Paste Data Copied
Advertisement