39 users online (0 members and 39 guests)  


  Results 1 to 2 of 2

Related

  1. table row values    Forum: HTML Forum
    Replies: 1
  2. Replies: 1
  3. Adding values to an external .js Javascript file?    Forum: Javascript Forum
    Replies: 3
  4. Getting min/max values from an array    Forum: CGI Perl Forum
    Replies: 1
  1. #1
    Dr_fish's Avatar
    New User

    Status
    Offline
    Join Date
    Dec 2003
    Posts
    9

    adding up my values

    hi all, i need help adding my values of my products on my website so that i have a total box at the end with the total price of all the items picked heres my code all of it thanks, Dr Fish.
    <html>

    <head>



    <p><!--webbot bot="HTMLMarkup" startspan --><html>
    <head>
    <title>Place Your Order</title>
    <script language="javascript">

    function update2 ()
    {
    alert ("Order: " + document.mf1.selectorder1[document.mf1.selectorder1.selectedIndex].text + " costing "
    + document.mf1.selectorder1[document.mf1.selectorder1.selectedIndex].value);
    document.mf1.orderprice1.value = document.mf1.selectorder1[document.mf1.selectorder1.selectedIndex].value;
    if (document.mf1.selectorder1.selectedIndex == 1) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/duron.jpg";
    if (document.mf1.selectorder1.selectedIndex == 2) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/duron.jpg";
    if (document.mf1.selectorder1.selectedIndex == 3) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/amd_barton.jpg";
    if (document.mf1.selectorder1.selectedIndex == 4) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/amd_barton.jpg";
    if (document.mf1.selectorder1.selectedIndex == 5) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/amd_barton.jpg";
    if (document.mf1.selectorder1.selectedIndex == 6) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/amd_barton.jpg";
    if (document.mf1.selectorder1.selectedIndex == 7) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/amd_barton.jpg";
    if (document.mf1.selectorder1.selectedIndex == 8) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/amd_barton.jpg";
    if (document.mf1.selectorder1.selectedIndex == 9) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/athlon64.jpg"
    if (document.mf1.selectorder1.selectedIndex == 10) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/athlon64.jpg"
    if (document.mf1.selectorder1.selectedIndex == 11) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/athlonFX.jpg"
    if (document.mf1.selectorder1.selectedIndex == 12) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/opteron.jpg"
    if (document.mf1.selectorder1.selectedIndex == 13) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/"
    }
    </script>
    <script language="javascript">
    function update3 ()
    {
    alert ("Order: " + document.mf1.selectorder[document.mf1.selectorder.selectedIndex].text + " costing "
    + document.mf1.selectorder[document.mf1.selectorder.selectedIndex].value);
    document.mf1.orderprice.value = document.mf1.selectorder[document.mf1.selectorder.selectedIndex].value;
    if (document.mf1.selectorder.selectedIndex == 1) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4northwood.jpg";
    if (document.mf1.selectorder.selectedIndex == 2) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4northwood.jpg";
    if (document.mf1.selectorder.selectedIndex == 3) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4northwood.jpg";
    if (document.mf1.selectorder.selectedIndex == 4) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4northwood.jpg";
    if (document.mf1.selectorder.selectedIndex == 5) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4northwood.jpg";
    if (document.mf1.selectorder.selectedIndex == 6) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/xeon.jpg"
    if (document.mf1.selectorder.selectedIndex == 7) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/xeon.jpg"
    if (document.mf1.selectorder.selectedIndex == 8) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4celeronbox.jpg"
    if (document.mf1.selectorder.selectedIndex == 9) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4celeronbox.jpg"
    if (document.mf1.selectorder.selectedIndex == 10) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4celeronbox.jpg"
    if (document.mf1.selectorder.selectedIndex == 11) document.cpu.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4celeronbox.jpg"
    }


    </script>

    <script language="javascript">
    function update4 ()
    {
    alert ("Order: " + document.mf1.selectorder2[document.mf1.selectorder2.selectedIndex].text + " costing "
    + document.mf1.selectorder2[document.mf1.selectorder2.selectedIndex].value);
    document.mf1.orderprice2.value = document.mf1.selectorder2[document.mf1.selectorder2.selectedIndex].value;
    if (document.mf1.selectorder2.selectedIndex == 1) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/abit_AI7.jpg";
    if (document.mf1.selectorder2.selectedIndex == 2) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/abit_an7.jpg";
    if (document.mf1.selectorder2.selectedIndex == 3) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/Abit_NF7_S.jpg";
    if (document.mf1.selectorder2.selectedIndex == 4) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/amd_barton.jpg";
    if (document.mf1.selectorder2.selectedIndex == 5) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/amd_barton.jpg";
    }
    </script>

    <script language="javascript">
    function update5 ()
    {
    alert ("Order: " + document.mf1.selectorder3[document.mf1.selectorder3.selectedIndex].text + " costing "
    + document.mf1.selectorder3[document.mf1.selectorder3.selectedIndex].value);
    document.mf1.orderprice3.value = document.mf1.selectorder3[document.mf1.selectorder3.selectedIndex].value;
    if (document.mf1.selectorder3.selectedIndex == 1) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/msiathlonmobo.jpg";
    if (document.mf1.selectorder3.selectedIndex == 2) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/msimobo2.jpg";
    if (document.mf1.selectorder3.selectedIndex == 3) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4msimobo.jpg";
    if (document.mf1.selectorder3.selectedIndex == 4) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/p4mismobo2.jpg";
    if (document.mf1.selectorder3.selectedIndex == 5) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/msimobo2.jpg";

    }

    </script>
    <script language="javascript">
    function update6 ()
    {
    alert ("Order: " + document.mf1.selectorder4[document.mf1.selectorder4.selectedIndex].text + " costing "
    + document.mf1.selectorder4[document.mf1.selectorder4.selectedIndex].value);
    document.mf1.orderprice4.value = document.mf1.selectorder4[document.mf1.selectorder4.selectedIndex].value;
    if (document.mf1.selectorder4.selectedIndex == 1) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/asusp4p800s.jpg";
    if (document.mf1.selectorder4.selectedIndex == 2) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/asusp4s533-mx.jpg";
    if (document.mf1.selectorder4.selectedIndex == 3) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/";
    if (document.mf1.selectorder4.selectedIndex == 4) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/";
    if (document.mf1.selectorder4.selectedIndex == 5) document.rabbitpic2.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/";
    }
    </script>
    <script language="javascript">
    function update7 ()
    {
    alert ("Order: " + document.mf1.selectorder5[document.mf1.selectorder5.selectedIndex].text + " costing "
    + document.mf1.selectorder5[document.mf1.selectorder5.selectedIndex].value);
    document.mf1.orderprice5.value = document.mf1.selectorder5[document.mf1.selectorder5.selectedIndex].value;
    if (document.mf1.selectorder5.selectedIndex == 1) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/asus9520t.jpg";
    if (document.mf1.selectorder5.selectedIndex == 2) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/asus_v9560td.jpg";
    if (document.mf1.selectorder5.selectedIndex == 3) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/v9570td.jpg";
    if (document.mf1.selectorder5.selectedIndex == 4) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/v9520vs.jpg";
    if (document.mf1.selectorder5.selectedIndex == 5) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/msi440t8x.jpg";
    if (document.mf1.selectorder5.selectedIndex == 6) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/msifx5200_128td.jpg";
    if (document.mf1.selectorder5.selectedIndex == 7) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/msi_mx4000.jpg";
    if (document.mf1.selectorder5.selectedIndex == 8) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/msinforce2.jpg";
    if (document.mf1.selectorder5.selectedIndex == 9) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/";
    if (document.mf1.selectorder5.selectedIndex == 10) document.gfx.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/msi5600xt.jpg";
    }
    </script>

    <script language="javascript">
    function update8 ()
    {
    alert ("Order: " + document.mf1.selectorder6[document.mf1.selectorder6.selectedIndex].text + " costing "
    + document.mf1.selectorder6[document.mf1.selectorder6.selectedIndex].value);
    document.mf1.orderprice6.value = document.mf1.selectorder6[document.mf1.selectorder6.selectedIndex].value;
    if (document.mf1.selectorder6.selectedIndex == 1) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/HyperX.jpg";
    if (document.mf1.selectorder6.selectedIndex == 2) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/HyperX.jpg";
    if (document.mf1.selectorder6.selectedIndex == 3) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/hyperxdual.jpg";
    if (document.mf1.selectorder6.selectedIndex == 4) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/HyperX.jpg";
    if (document.mf1.selectorder6.selectedIndex == 5) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/HyperX.jpg";
    if (document.mf1.selectorder6.selectedIndex == 6) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/samsung.jpg";
    if (document.mf1.selectorder6.selectedIndex == 7) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/samsung.jpg";
    if (document.mf1.selectorder6.selectedIndex == 8) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/rambus.jpg";
    if (document.mf1.selectorder6.selectedIndex == 9) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/rambus.jpg";
    if (document.mf1.selectorder6.selectedIndex == 10) document.ram.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/rambus.jpg";
    }
    </script>

    <script language="javascript">
    function update9 ()
    {
    alert ("Order: " + document.mf1.selectorder7[document.mf1.selectorder7.selectedIndex].text + " costing "
    + document.mf1.selectorder7[document.mf1.selectorder7.selectedIndex].value);
    document.mf1.orderprice7.value = document.mf1.selectorder7[document.mf1.selectorder7.selectedIndex].value;
    if (document.mf1.selectorder7.selectedIndex == 1) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/ibmdisk_drive.gif";
    if (document.mf1.selectorder7.selectedIndex == 2) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/ibmdisk_drive.gif";
    if (document.mf1.selectorder7.selectedIndex == 3) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/ibmdisk_drive.gif";
    if (document.mf1.selectorder7.selectedIndex == 4) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/ibmdisk_drive.gif";
    if (document.mf1.selectorder7.selectedIndex == 5) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/samsung40gb.jpg";
    if (document.mf1.selectorder7.selectedIndex == 6) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/samsung40gb.jpg";
    if (document.mf1.selectorder7.selectedIndex == 7) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/samsung40gb.jpg";
    if (document.mf1.selectorder7.selectedIndex == 8) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/samsung40gb.jpg";
    if (document.mf1.selectorder7.selectedIndex == 9) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/samsung40gb.jpg";
    if (document.mf1.selectorder7.selectedIndex == 10) document.hd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/samsung40gb.jpg";
    }
    </script>

    <script language="javascript">

    function update10 ()
    {
    alert ("Order: " + document.mf1.selectorder8[document.mf1.selectorder8.selectedIndex].text + " costing "
    + document.mf1.selectorder8[document.mf1.selectorder8.selectedIndex].value);
    document.mf1.orderprice8.value = document.mf1.selectorder8[document.mf1.selectorder8.selectedIndex].value;
    if (document.mf1.selectorder8.selectedIndex == 1) document.cas.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/PC37A.jpg";
    if (document.mf1.selectorder8.selectedIndex == 2) document.cas.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/case1.jpg";
    if (document.mf1.selectorder8.selectedIndex == 3) document.cas.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/Sonata.jpg";
    if (document.mf1.selectorder8.selectedIndex == 4) document.cas.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/uvcase.jpg";
    if (document.mf1.selectorder8.selectedIndex == 5) document.cas.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/beantech_BT84.jpg";

    }
    </script>


    <script language="javascript">

    function update11 ()
    {
    alert ("Order: " + document.mf1.selectorder9[document.mf1.selectorder9.selectedIndex].text + " costing "
    + document.mf1.selectorder9[document.mf1.selectorder9.selectedIndex].value);
    document.mf1.orderprice9.value = document.mf1.selectorder9[document.mf1.selectorder9.selectedIndex].value;
    if (document.mf1.selectorder9.selectedIndex == 1) document.cd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/cdrom2.jpg";
    if (document.mf1.selectorder9.selectedIndex == 2) document.cd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/cdrom1.jpg";
    if (document.mf1.selectorder9.selectedIndex == 3) document.cd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/cdrom3.jpg";
    if (document.mf1.selectorder9.selectedIndex == 4) document.cd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/cdrr.pg";
    if (document.mf1.selectorder9.selectedIndex == 5) document.cd.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/cdrr2.jpg";
    }
    </script>

    <script language="javascript">

    function update12 ()
    {
    alert ("Order: " + document.mf1.selectorder10[document.mf1.selectorder10.selectedIndex].text + " costing "
    + document.mf1.selectorder10[document.mf1.selectorder10.selectedIndex].value);
    document.mf1.orderprice10.value = document.mf1.selectorder10[document.mf1.selectorder10.selectedIndex].value;
    if (document.mf1.selectorder10.selectedIndex == 1) document.kb.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/keyboard.jpg";
    if (document.mf1.selectorder10.selectedIndex == 2) document.kb.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/keybard2.jpg";

    }
    </script>
    <script language="javascript">

    function update13 ()
    {
    alert ("Order: " + document.mf1.selectorder11[document.mf1.selectorder11.selectedIndex].text + " costing "
    + document.mf1.selectorder11[document.mf1.selectorder11.selectedIndex].value);
    document.mf1.orderprice11.value = document.mf1.selectorder11[document.mf1.selectorder11.selectedIndex].value;
    if (document.mf1.selectorder11.selectedIndex == 1) document.m.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/mouse1.jpg";
    if (document.mf1.selectorder11.selectedIndex == 2) document.m.src = "http://www.eng.nene.ac.uk/~bf02jafo/a1/keybard2.jpg";

    }
    </script>


    </head>





    <center>
    <h1><font face="Impact" size="7">Mega Pc</font></h1>
    <p><font face="Impact" size="4">Configure Your Pc To Your Specific Needs.</font></p>
    </center>
    <p align="left">
    <hr>
    <br>
    <br>
    <br>
    <font face="Impact">Processors (AMD and Intel)</font><center><font face="Arial Black"><b><i>Picture of CPU chosen: </i></b></font>
    <br>
    <image name="cpu" src="http://www.eng.nene.ac.uk/~bf02jafo/a1/blank.jpg">

    <BR>
    <BR>


    <center>
    <form name="mf1">
    <select name="selectorder1" onChange="update2 ()">
    <option>Choose Processor</option>
    <option value="28.79">AMD Duron 1.6GHz (Socket A) OEM (Socket A)</option>
    <option value="36.31">AMD Duron 1.8GHz (Socket A)</option>
    <option value="39.36">AMD Athlon Thoroughbred XP 1800+ (Socket A)</option>
    <option value="46.71">AMD Athlon Thoroughbred XP 2000+</option>
    <option value="49.94">AMD Athlon Thoroughbred XP 2200+</option>
    <option value="53.46">AMD Athlon Thoroughbred XP 2400+</option>
    <option value="53.46">AMD Athlon Thoroughbred XP 2400+</option>
    <option value="73.54">AMD Athlon Thoroughbred XP 2600+ 333FSB</option>
    <option value="175.56">AMD Athlon 64 3000 (Socket 754)</option>
    <option value="320.19">AMD Athlon 64 3200 (Socket 754)</option>
    <option value="581.63">AMD Athlon FX51 (Socket 940)</option>
    <option value="198.51">AMD Opteron 140 1.4GHz 1MB Cache</option>
    <option value="252.63">AMD Opteron 144 1.8GHz 1MB Cache </option>


    </select>

    <input type="text" readonly name="orderprice1" size="6">


    <br>
    <br>
    <center>

    <select name="selectorder" onChange="update3 ()">
    <option>Choose Processor</option>
    <option value="148.53">Intel Pentium 4 2.8GHz (533FSB)</option>
    <option value="213.85">Intel Pentium 4 3.06GHz (533FSB)</option>
    <option value="163.33">Intel Pentium 4 2.8GHz (800FSB)</option>
    <option value="199.69">Intel Pentium 4 3.0GHz (800FSB)</option>
    <option value="299.63">Intel Pentium 4 3.2GHz (800FSB)</option>
    <option value="217.13">Intel Xeon 2.6GHz (533FSB)</option>
    <option value="363.08">Intel Xeon 3.0GHz (533FSB)</option>
    <option value="53.48">Intel Celeron 1.8GHz</option>
    <option value="49.35">Intel Celeron 2.0GHz</option>
    <option value="51.41">Intel Celeron 2.4GHz</option>
    <option value="61.95">Intel Celeron 2.6GHz</option>


    </select>

    <input type="text" readonly name="orderprice" size="6">

    </html>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <hr>
    <hr>
    <b><i>Picture of MOTHERBOARD chosen:<center> </i></b></font>
    <image name="rabbitpic2" src="http://www.eng.nene.ac.uk/~bf02jafo/a1/blank.jpg">

    <BR>
    <BR>
    <BR>
    <form name="mf1">
    <select name="selectorder2" onChange="update4 ()">
    <option>Choose motherboard</option>
    <option value="78.67">Abit AN7 nForce2 (Socket A) Motherboard</option>
    <option value="47.59">Abit KD7-A KT400A (Socket A) Motherboard</option>
    <option value="114.44">Abit KV8-MAX3 (Socket 754) Motherboard</option>
    </select>



    <input type="text" readonly name="orderprice2" size="6">
    <br>
    <br>


    <select name="selectorder3" onChange="update5 ()">
    <option>Choose Motherboard</option>
    <option value="54.64">MSI K7N2 Delta-L Nforce2 (Socket A) Motherboard</option>
    <option value="99.88">MSI K8T Neo-FIS2R (Socket 754) Motherboard</option>
    <option value="65.21">MSI KT6 Delta-FISR KT600 (Socket A) Motherboard</option>
    <option value="56.99">MSI KT6 Delta-LSR KT600 (Socket A) Motherboard</option>

    </select>
    <input type="text" readonly name="orderprice3" size="6">
    <br>
    <br>
    <select name="selectorder4" onChange="update6 ()">
    <option>Choose MotherBoard</option>
    <option value="39.07">Asus A7N266-VM/SE (Socket A) Micro ATX Motherboard </option>
    <option value="67.56">Asus A7N8X-VM nForce2 (Socket A) Micro ATX Motherboard</option>
    <option value="80.49">Asus A7N8X Deluxe nForce2 (Socket A) Motherboard</option>
    <option value="105.69">Asus K8V Deluxe (Socket 754) Motherboard </option>


    </select>



    <input type="text" readonly name="orderprice4" size="6">
    <br>
    <br>
    <br>
    <hr>
    <hr>
    </font><center><font face="Arial Black"><center><b><i>Picture of Graphics Card chosen:<center> </i></b></font>
    <image name="gfx" src="http://www.eng.nene.ac.uk/~bf02jafo/a1/blank.jpg">

    <BR>
    <BR>
    <BR>
    <br>

    <select name="selectorder5" onChange="update7 ()">
    <option>Choose Gfx Card</option>
    <option value="46.94">Asus v9520 Magic Geforce FX 5200 128MB</option>
    <option value="65.80"> Asus v9520vs Geforce FX 5200 128MB (Tv)</option>
    <option value="111.63">Asus V9560td Geforce FX 5600 256MB</option>
    <option value="352.44">Asus Geforce FX 5950 Ultra 256MB </option>
    <hr>
    <option value="35.19">MSI Geforce 4MX 440 64MB</option>
    <optionvalue="82.84">MSI Geforce 5600xt-td 128MB</option>
    <option value="112.80">MSI Geforce 5600td 256mb </option>
    <option value="351.22">MSI Geforce 5900vtd Ultra 256MB </option>


    </select>



    <input type="text" readonly name="orderprice5" size="6">
    <br>
    <hr>
    <hr>
    <br>
    </font><center><font face="Arial Black"><center><b><i>Picture of Memory chosen: <center></i></b></font>
    <image name="ram" src="http://www.eng.nene.ac.uk/~bf02jafo/a1/blank.jpg">

    <BR>
    <BR>
    <BR>
    <form name="mf1">
    <select name="selectorder6" onChange="update8 ()">
    <option>Choose RAM</option>
    <option value="39.95">KIngston 256mb 2700</option>
    <option value="45.83">Kingston 512mb 2700</option>
    <option value="168.63">kingston 1gig (2X512mb) 2700</option>
    <option value="52.88">Kingston 256mb 3200</option>
    <option value="104.58">Kingston 512mb 3200</option>
    <option value="30.50">SAmsung 256mb 2700</option>
    <option value="64.63">Samsung 512mb 2700</option>
    <option value="48.57">Samsung 256mb 3200</option>
    <option value="89.64">Samsung 512mb 3200</option>


    </select>



    <input type="text" readonly name="orderprice6" size="6">


    <br>
    <hr>
    <hr>
    <br>

    </font><center><font face="Arial Black"><center><b><i>Picture of Hard Drive chosen:<center> </i></b></font>
    <image name="hd" src="http://www.eng.nene.ac.uk/~bf02jafo/a1/blank.jpg">

    <BR>
    <BR>
    <BR>
    <form name="mf1">
    <select name="selectorder7" onChange="update9 ()">
    <option>Choose Hard Disk</option>
    <option value="39.95">IBM 7200RPM 40GIG</option>
    <option value="45.83">IBM 7200RPM 80GIG</option>
    <option value="168.63">IBM 7200RPM 120GIG</option>
    <option value="52.88">IBM 7200RPM 200GIG</option>
    <option value="104.58">MAXTOR 40GIG 7200RPM</option>
    <option value="30.50">MAXTOR 80GIG 7200RPM</option>
    <option value="64.63">120GIG 7200RPM</option>
    <option value="48.57">200GIG 7200RPM</option>
    <option value="89.64">250GIG 7200RPM</option>


    </select>

    <input type="text" readonly name="orderprice7" size="6">
    <br>
    <hr>
    <hr>
    <br>




    </font><center><font face="Arial Black"><center><b><i>Picture of Case chosen: <center></i></b></font>
    <image name="cas" src="http://www.eng.nene.ac.uk/~bf02jafo/a1/blank.jpg">

    <BR>
    <BR>
    <BR>
    <form name="mf1">
    <select name="selectorder8" onChange="update10 ()">
    <option>Choose Case</option>
    <option value="39.95">Case 1</option>
    <option value="45.83">case 2</option>
    <option value="89.63">case 3</option>
    <option value="92.88">case 4</option>
    <option value="104.58">case 5</option>



    </select>



    <input type="text" readonly name="orderprice8" size="6">



    <br>
    <hr>
    <hr>
    <br>
    </font><center><font face="Arial Black"><center><center><b><i>Picture of CD-ROM/writer chosen:<center> </i></b></font>
    <br>
    <image name="cd" src="http://www.eng.nene.ac.uk/~bf02jafo/a1/blank.jpg">

    <BR>
    <BR>
    <BR>
    <form name="mf1">
    <select name="selectorder9" onChange="update11 ()">
    <option>Choose CD ROM/WRITER</option>
    <option value="13.06">52x CD-ROM</option>
    <option value="15.83">56x CD-ROM</option>
    <option value="16.33">56x cd-rom (asus) (black)</option>
    <option value="25.85">52x 32x 52x cdrw (asus) </option>
    <option value="26.44">52x 32x 52 cdrw (msi)</option>



    </select>



    <input type="text" readonly name="orderprice9" size="6">

    <hr>
    <hr>
    <br>
    <br>
    <br>
    <br>
    </font><center><font face="Arial Black"><center><b><i>Picture of Keyboard chosen:<center> </i></b></font>

    <image name="kb" src="http://www.eng.nene.ac.uk/~bf02jafo/a1/blank.jpg">

    <BR>
    <BR>
    <BR>
    <form name="mf1">
    <br>
    <select name="selectorder10" onChange="update12 ()">
    <option>Choose Keyboard</option>
    <option value="23.91">Cherry CyBo@rd PS2/USB Keyboard - Black</option>
    <option value="15.16">Cherry G83-6000 PS2 Keyboard </option>



    </select>



    <input type="text" readonly name="orderprice10" size="6">

    <hr>
    <hr>
    <br>
    <br>
    <br>
    <br>
    </font><center><font face="Arial Black"><center><b><i>Picture of Mouse chosen: <center><center></i></b></font>
    <image name="m" src="http://www.eng.nene.ac.uk/~bf02jafo/a1/blank.jpg">

    <BR>
    <BR>
    <BR>

    <form name="mf1">
    <select name="selectorder11" onChange="update13 ()">
    <option>Choose Mouse</option>
    <option value="12.28">Creative Mouse optical</option>
    <option value="15.16">Cherry G83-6000 PS2 Keyboard </option>



    </select>



    <input type="text" readonly name="orderprice11" size="6">
    </form>

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi there,

    Your code above, whats it doing/not doing? any errors?

    Allternatively, this thread shows us going through some simple code to do the same thing - http://www.ahfb2000.com/webmaster_he...ead.php?t=2527
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread