Senin, 29 Oktober 2012

Navigasi Web

0 komentar

Java Boyz - Berikut adalah tugas web

<span class="style1>ORDER PEMESANAN BUKU ONLINE</span>
<hr align="left" width="75%" />
<form id="form1" name="form1" method="post" action="mailto:penjualan@maxikom.co.id" enctype="text/plain">
<p><label><strong>NAMA :</strong>
<input name="nama_" type="text" id="nama_" size="30" maxlenght="30" /></label></p>
<p><label><strong>ALAMAT :</strong> <input name="alamat_" type="text" id="alamat_" size="75" maxlenght="75" /></label>
<label><strong>TELP :</strong> <input name="telp_" type="text" id="telp_" /></label></p>
<p><label><strong>TANGGAL :</strong> <input name="tgl_" type="text" id="tgl_" /></label></p>
<table width="49" border="6" bordercolor="#999999" bgcolor=#666666"
<tr>
<th scope="col"><div align="center"></div></th>
<th scope="col"><div align="center">JUDUL BUKU</div></th>
<th scope="col"><div align="center">JUMLAH</div></th>
<th scope="col"><div align="center">HARGA</div></th>
<th scope="col"><div align="center">TOTAL</div></th>
</tr>
<tr>
<th scope="row"><div align="center">BUKU 1 </div></th>
<td>
<div align="center">
<label><select name="judul1_" id="judul1_">
<script language="javascript">
    for(var a=0; a<buku.lenght; a++) {
        document.write("<option value=\""+
        buku[a]+"\">"+buku[a]+"</option>");
}
</script>
</select>
</label>
</div></td>
<td><div align="center">
<label><input name="jumlah1_" type="text" id="jumlah1_" size="5" />
</label>
</div></td>
<td><div align="center">
<label><select name="harga1_" id="harga1_">
<script language="javascript">
    for(var b=0; b<harga.lenght; b++) {
        document.write("<option value=\""+
        harga[b]+"\">"+harga[b]+"</option>");
    }
</script>
</select>
</label>
</div></td>
<td><div align="center">
<input name="total1_" type="text" id="total1_" size="10" />
</div></td>
</tr>
<tr>
<th scope="row"><div align="center">BUKU 2 </div></th>
<td><div align="center">
<select name="judul2_" id="judul2_">
<script language="javascript">
    for(var a=0; a<buku.lenght; a++) {
        document.write("<option value=\""+
        buku[a]+"\">"+buku[a]+"</option>");
}
</script>
</select>
</div></td>
<td><div align="center">
<select name="harga2_" id="harga2_">
<script language="javascript">
    for(var b=0; b<harga.lenght; b++) {
        document.write("<option value=\""+
        harga[b]+"\">"+harga[b]+"</option>");
    }
</script>
</select>
</div></td>
<td><div align="center">
<input name="total2_" type="text" id="total2_" size="10" />
</div></td>
</tr>
<tr>
<th scope="row"><div align="center">BUKU 3 </div></th>
<td><div align="center">
<select name="judul3_" id="judul3_">
<script language="javascript">
    for(var a=0; a<buku.lenght; a++) {
        document.write("<option value=\""+
        buku[a]+"\">"+buku[a]+"</option>");
}
</script>
</select>
</div></td>
<td><div align="center">
<input name="jumlah3_" type="text" id="jumlah3_" size="5" />
</div></td>
<td><div align="center">
<select name="harga3_" id="harga3_">
<script language="javascript">
    for(var b=0; b<harga.lenght; b++) {
        document.write("<option value=\""+
        harga[b]+"\">"+harga[b]+"</option>");
    }
</script>
</select>
</div></td>
<td><div align="center">
<input name="total3_" type="text" id="total3_" size="10" />
</div></td>
</tr>
<tr>
<th scope="row"><div align="center">SUB TOTAL </div></th>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
<td><div align="center">
<input name="subtotal_" type="text" id="subtotal_" size="10" />
</div></td>
</tr>
<tr>
<th scope="row"><div align="center">DISKON 10% </div></th>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
<td><div align="center">
<input name="diskon_" type="text" id="diskon_" size="10" />
</div></td>
</tr>
<tr>
<th scope="row"><div align="center">GRAND TOTAL </div></th>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
<td><div align="center"></div></td>
<td><div align="center">
<input name="grandtotal_" type="text" id="grandtotal_" size="10" />
</div></td>
</tr>
</table>
<p><input name="total" type="button" id="total" value="Hitung Total" onclick="cek_eror(),hitung()"/>
<input name="Reset" type="reset" id="Reset" value="Reset" onblur="tampil"()"/></p>
<p><strong><u>PEMBAYARAN : </u></strong></p>
<table width="358" height="69" border="6" bordercolor="#999999" bgcolor="#666666">
<tr>
<td width="343">
<label><inout type="checkbox" name="Lunas_" value="OK" />
<strong>Langsung.</strong></label><br />
<label><input type="checkbox" name="Transfer_" value="OK" />
<strong>Via Transfer.</strong></label>
<label>NO. REK :</label>
<label><input name="norek_" type="text" id="norek" />
</label></td>
</tr>
</table>
<p><label><strong>KIRIM KE PENJUALAN</strong> -&gt;
<input name="submit" name="Submit" value="E-Mail" onclick="cek_submit()"/></label>
</p>
</form>

Thats it

0 komentar:

Poskan Komentar