Jump to content

hemy2000

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by hemy2000

  1. How would i do it using javascript?
  2. Hi im trying to make a page where you can customise a computer and it updates a price at the bottom when you you pick different options from a drop form. Kind of like this page does but without radio buttons, [a href=\"http://www.kobaltcomputers.co.uk/acatalog/apacheX.html\" target=\"_blank\"]http://www.kobaltcomputers.co.uk/acatalog/apacheX.html[/a] How do I do it. Heres the code I have for the customise page: [code]<?php include "header.inc.php"; ?> <style type="text/css"> <!-- .style1 {     color: #FF6600;     font-size: 18px; } --> </style> <div id="content"> <div class="title">   <h1>-Home/Office-</h1> </div> <div class="custom">   <h3>Cases</h3>   <img src="images/computers/cases.jpg" alt="Cases" height="200" width="740"/><br />   <br /> </div> <div class="full_"> <h3 align="center">Available Options:</h3> <form method="post" action="order_send.php"> <table border="0" cellpadding="0" cellspacing"0" align="center">   <tr>     <td align="right">Case: </td>     <td><select name="case" onChange="updatePrice(this)">         <option price="0">A-Pod Case Black - 400 watt PSU (+£26.55)</option>         <option price="28">A-Pod Case White - 400 watt PSU (+£27.93)</option>         <option price="34">X-Blade Black Case - 450 watt PSU (+£33.54)</option>         <option price="35">Gladiator Case Silver/Black - 500 watt PSU (+£34.88)</option>         <option price="42">Asus TA-210 Black Case - 360 watt PSU (+£41.68)</option>         <option price="53">CoolerMaster Centurion 534 - 450 watt PSU (+£52.58)</option>         <option price="56">CoolerMaster Cavalier 3 - 450 watt PSU (+£55.69)</option>         <option price="81">Chieftec Mesh LCX-01 Blue - 410 watt PSU (+£80.87)</option>         <option price="98">Lian Li PC-6289 - 450 watt PSU (+£97.38)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Power Supply: </td>     <td><select name="power_supply" onChange="updatePrice(this)">         <option price="0">300w truepower PSU (+£9.39)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Motherboard: </td>     <td><select name="motherboard" onChange="updatePrice(this)">         <option price="0">Gigabyte GA-K8N51GMF nForce410 (+£39.80)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Processor: </td>     <td><select name="processor" onChange="updatePrice(this)">         <option price="0">2800+ AMD Sempron 64-bit - (Select Socket 754 motherboard) (+£51.00)</option>         <option price="87">3000+ AMD Athlon 64-bit - (Select Socket 754 motherboard) (+£86.98)</option>         <option price="128">3500+ AMD Athlon 64-bit - (Select Socket 939 motherboard) (+£127.89)</option>         <option price="218">3800+ AMD Athlon 64 X2 (Dual) - (Select Socket 939 motherboard) (+£217.77)</option>         <option price="468">4800+ AMD Athlon 64 X2 (Dual) - (Select Socket 939 motherboard) (+£467.38)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Graphics: </td>     <td><select name="graphics" onChange="updatePrice(this)">         <option price="0">Onboard Graphics - (Select `with Onboard Graphics' in Mainboard option list)</option>         <option price="22">AGP - 64MB Inno3D MX4000 - (Not for AMD Socket 939 cpu's) (+£21.87)</option>         <option price="35">PCI-E - 256MB Inno3D 6200 TurboCache (+£34.58)</option>         <option price="65">PCI-E - 256MB Sparkle GeForce 6600 (+£64.55)</option>         <option price="102">PCI-E - 256MB XFX GeForce 7600GS XT (+£101.97)</option>         <option price="133">PCI-E - 256MB Inno3D GeForce 7600GT (+£132.96)</option>         <option price="224">PCI-E - 256MB Sparkle GeForce 7900GT (+£223.68)</option>         <option price="287">PCI-E - 2x (SLI) 256MB Inno3D 7600GT - (Select SLI mainboard) (+£286.96)</option>         <option price="447">PCI-E - 2x (SLI) 256MB Sparkle 7900GT - (Select SLI mainboard) (+£446.36)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Hard Drive 1: </td>     <td><select name="hard_drive_1" onChange="updatePrice(this)">         <option price="0">40GB Maxtor DiamondMax IDE (+£31.86)</option>         <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option>         <option price="49">160GB Maxtor SATA II (+£48.97)</option>         <option price="55">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option>         <option price="62">250GB Western Digital Caviar SE (+£61.22)</option>         <option price="78">300Gb Maxtor DiamondMax (+£77.79)</option>         <option price="122">400GB Maxtor DiamondMax 11 (+£121.97)</option>         <option price="193">500GB Western Digital Caviar SE 16 (+£192.94)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Hard Drive 2: </td>     <td><select name="hard_drive_2" onChange="updatePrice(this)">         <option price="0">Not Required</option>         <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option>         <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option>         <option price="49">160GB Maxtor SATA II (+£48.97)</option>         <option price="55">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option>         <option price="62">250GB Western Digital Caviar SE (+£61.22)</option>         <option price="78">300Gb Maxtor DiamondMax (+£77.79)</option>         <option price="122">400GB Maxtor DiamondMax 11 (+£121.97)</option>         <option price="193">500GB Western Digital Caviar SE 16 (+£192.94)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Cd/Dvd Drive 1: </td>     <td><select name="optical_drive_1" onChange="updatePrice(this)">         <option price="0">Not Required</option>         <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option>         <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option>         <option price="49">160GB Maxtor SATA II (+£48.97)</option>         <option price="55">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option>         <option price="62">250GB Western Digital Caviar SE (+£61.22)</option>         <option price="78">300Gb Maxtor DiamondMax (+£77.79)</option>         <option price="122">400GB Maxtor DiamondMax 11 (+£121.97)</option>         <option price="193">500GB Western Digital Caviar SE 16 (+£192.94)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Cd/Dvd Drive 2: </td>     <td><select name="optical_drive_2" onChange="updatePrice(this)">         <option price="0">Not Required</option>         <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option>         <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option>         <option price="49">160GB Maxtor SATA II (+£48.97)</option>         <option price="55">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option>         <option price="62">250GB Western Digital Caviar SE (+£61.22)</option>         <option price="78">300Gb Maxtor DiamondMax (+£77.79)</option>         <option price="122">400GB Maxtor DiamondMax 11 (+£121.97)</option>         <option price="193">500GB Western Digital Caviar SE 16 (+£192.94)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Floppy Drive/Card Reader: </td>     <td><select name="removable_storage" onChange="updatePrice(this)">         <option price="0">Not Required</option>         <option price="8">Floppy Disk Drive Black (+£7.48)</option>         <option price="8">Floppy Disk Drive Silver (+£7.48)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Sound Card: </td>     <td><select name="sound_card" onChange="updatePrice(this)">         <option price="0">Onboard Sound</option>         <option price="12">Genius Sound Maker 5.1 V2 (+£11.48)</option>         <option price="41">Sound Blaster Audigy 4 7.1 (+£40.12)</option>         <option price="128">Terratec Aureon 7.1 Universe (+£127.12)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Keyboard: </td>     <td><select name="keyboard" onChange="updatePrice(this)">         <option price="0">Not Required</option>         <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option>         <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Mouse: </td>     <td><select name="mouse" onChange="updatePrice(this)">         <option price="0">Not Required</option>         <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option>         <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Speakers: </td>     <td><select name="speakers" onChange="updatePrice(this)">         <option price="0">Not Required</option>         <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option>         <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Monitor: </td>     <td><select name="monitor" onChange="updatePrice(this)">         <option price="0">Not Required</option>         <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option>         <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Operating System: </td>     <td><select name="operating_system" onChange="updatePrice(this)">         <option price="0">Not Required</option>         <option price="57">Microsoft Windows XP Home - (Installed for free) (+£56.58)</option>         <option price="94">Microsoft Windows XP Professional - (Installed for free) (+£93.08)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Building Fee: </td>     <td><select name="building_fee" onChange="updatePrice(this)">         <option price="0">Building and Testing (+£25)</option>       </select>     </td>   </tr>   <tr>     <td align="right">Parts Shipping: </td>     <td><select name="parts_shipping" onChange="updatePrice(this)">         <option price="0">Standard shipping (+£5.79)</option>       </select>     </td>   </tr> </table> <br /> </div> <div align="center"> <span class="style1" id="price">£000.00</span><br />   <br />   <input type="image" src="images/buttons/continue.gif" alt="Continue" name="continue">   <br />   <br /> </div> </div> <?php include "footer.inc.php"; ?>[/code] [b]EDITED BY WILDTEEN88: PLEASE USE CODE TAGS WHEN SUBMITTING CODE[/b]
  3. Hi im trying to make a page where you can customise a computer and a price at the bottom auto updates when you choose different options in drop down menus. Iv got a functions.js file and the customise php file but when you choose a different option instead of adding more money on it just changes it to loads of symbols anyway heres the functions.js and the the customise page: [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]var glob_pp = false; var glob_payMethods = new Array(); function updatePrice(sel) { var sIndex = sel.selectedIndex; var add = parseFloat(sel.options[sIndex].getAttribute('price')); var price = document.getElementById('price').innerHTML; var ex = price.split('£'); price = parseFloat(ex[1]); var cI = glob_payMethods.length; if(glob_payMethods[cI - 1] == 'PayPal') { price = price / 1.032 } var updated = price + add; if(glob_pp) { updated = updated * 1.032 } document.getElementById('price').innerHTML = '£' + updated; } function checkPayPal(sel) { var sIndex = sel.selectedIndex var val = sel.options[sIndex].value; var cI = glob_payMethods.length; var p = document.getElementById('price').innerHTML; var s = p.split('£'); s[1] = parseFloat(s[1]); if(val == 'PayPal') { glob_pp = true; if(!cI) { s[1] = s[1] * 1.032; p = s[1]; } glob_payMethods[cI] = 'PayPal'; } else { glob_pp = false; if(cI != 0 && glob_payMethods[cI - 1] == 'PayPal') { s[1] = s[1] / 1.032; p = s[1]; } glob_payMethods[cI] = 'ignore'; } }[!--colorc--][/span][!--/colorc--] customise: [!--coloro:#3333FF--][span style=\"color:#3333FF\"][!--/coloro--]<?php include "header.inc.php"; ?> <script language="javascript" type="text/javascript" src="functions.js"></script> <style type="text/css"> <!-- .style1 { color: #FF6600; font-size: 18px; } --> </style> <div id="content"> <div class="title"> <h1>-Home/Office-</h1> </div> <div class="custom"> <h3>Cases</h3> <img src="images/computers/cases.jpg" alt="Cases" height="200" width="740"/><br /><br /> </div> <div class="full_"> <h3 align="center">Available Options:</h3> <form method="post" action="order_send.php"> <table border="0" cellpadding="0" cellspacing"0" align="center"> <tr><td align="right">Case: </td><td> <select name="case" onChange="updatePrice(this)"> <option>A-Pod Case Black - 400 watt PSU (+£26.55)</option> <option price="28">A-Pod Case White - 400 watt PSU (+£27.93)</option> <option price="34">X-Blade Black Case - 450 watt PSU (+£33.54)</option> <option price="35">Gladiator Case Silver/Black - 500 watt PSU (+£34.88)</option> <option price="42">Asus TA-210 Black Case - 360 watt PSU (+£41.68)</option> <option price="53">CoolerMaster Centurion 534 - 450 watt PSU (+£52.58)</option> <option price="56">CoolerMaster Cavalier 3 - 450 watt PSU (+£55.69)</option> <option price="81">Chieftec Mesh LCX-01 Blue - 410 watt PSU (+£80.87)</option> <option price="98">Lian Li PC-6289 - 450 watt PSU (+£97.38)</option> </select> </td></tr> <tr><td align="right">Power Supply: </td><td> <select name="power_supply"> <option>300w truepower PSU (+£9.39)</option> </select> </td></tr> <tr><td align="right">Motherboard: </td><td> <select name="motherboard"> <option>Gigabyte GA-K8N51GMF nForce410 (+£39.80)</option> </select> </td></tr> <tr><td align="right">Processor: </td><td> <select name="processor" onchange="updatePrice(this)"> <option>2800+ AMD Sempron 64-bit - (Select Socket 754 motherboard) (+£51.00)</option> <option price="87">3000+ AMD Athlon 64-bit - (Select Socket 754 motherboard) (+£86.98)</option> <option price="128">3500+ AMD Athlon 64-bit - (Select Socket 939 motherboard) (+£127.89)</option> <option price="218">3800+ AMD Athlon 64 X2 (Dual) - (Select Socket 939 motherboard) (+£217.77)</option> <option price="468">4800+ AMD Athlon 64 X2 (Dual) - (Select Socket 939 motherboard) (+£467.38)</option> </select> </td></tr> <tr><td align="right">Graphics: </td><td> <select name="graphics" onchange="updatePrice(this)"> <option>Onboard Graphics - (Select `with Onboard Graphics' in Mainboard option list)</option> <option price="22">AGP - 64MB Inno3D MX4000 - (Not for AMD Socket 939 cpu's) (+£21.87)</option> <option price="35">PCI-E - 256MB Inno3D 6200 TurboCache (+£34.58)</option> <option price="65">PCI-E - 256MB Sparkle GeForce 6600 (+£64.55)</option> <option price="102">PCI-E - 256MB XFX GeForce 7600GS XT (+£101.97)</option> <option price="133">PCI-E - 256MB Inno3D GeForce 7600GT (+£132.96)</option> <option price="224">PCI-E - 256MB Sparkle GeForce 7900GT (+£223.68)</option> <option price="287">PCI-E - 2x (SLI) 256MB Inno3D 7600GT - (Select SLI mainboard) (+£286.96)</option> <option price="447">PCI-E - 2x (SLI) 256MB Sparkle 7900GT - (Select SLI mainboard) (+£446.36)</option> </select> </td></tr> <tr><td align="right">Hard Drive 1: </td><td> <select name="hard_drive_1" onchange="updatePrice(this)"> <option>40GB Maxtor DiamondMax IDE (+£31.86)</option> <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option> <option price="49">160GB Maxtor SATA II (+£48.97)</option> <option price="55">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option> <option price="62">250GB Western Digital Caviar SE (+£61.22)</option> <option price="78">300Gb Maxtor DiamondMax (+£77.79)</option> <option price="122">400GB Maxtor DiamondMax 11 (+£121.97)</option> <option price="193">500GB Western Digital Caviar SE 16 (+£192.94)</option> </select> </td></tr> <tr><td align="right">Hard Drive 2: </td><td> <select name="hard_drive_2" onchange="updatePrice(this)"> <option>Not Required</option> <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option> <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option> <option price="49">160GB Maxtor SATA II (+£48.97)</option> <option price="55">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option> <option price="62">250GB Western Digital Caviar SE (+£61.22)</option> <option price="78">300Gb Maxtor DiamondMax (+£77.79)</option> <option price="122">400GB Maxtor DiamondMax 11 (+£121.97)</option> <option price="193">500GB Western Digital Caviar SE 16 (+£192.94)</option> </select> </td></tr> <tr><td align="right">Cd/Dvd Drive 1: </td><td> <select name="optical_drive_1" onchange="updatePrice(this)"> <option>Not Required</option> <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option> <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option> <option price="49">160GB Maxtor SATA II (+£48.97)</option> <option price="55">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option> <option price="62">250GB Western Digital Caviar SE (+£61.22)</option> <option price="78">300Gb Maxtor DiamondMax (+£77.79)</option> <option price="122">400GB Maxtor DiamondMax 11 (+£121.97)</option> <option price="193">500GB Western Digital Caviar SE 16 (+£192.94)</option> </select> </td></tr> <tr><td align="right">Cd/Dvd Drive 2: </td><td> <select name="optical_drive_2" onchange="updatePrice(this)"> <option>Not Required</option> <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option> <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option> <option price="49">160GB Maxtor SATA II (+£48.97)</option> <option price="55">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option> <option price="62">250GB Western Digital Caviar SE (+£61.22)</option> <option price="78">300Gb Maxtor DiamondMax (+£77.79)</option> <option price="122">400GB Maxtor DiamondMax 11 (+£121.97)</option> <option price="193">500GB Western Digital Caviar SE 16 (+£192.94)</option> </select> </td></tr> <tr><td align="right">Floppy Drive/Card Reader: </td><td> <select name="removable_storage" onchange="updatePrice(this)"> <option>Not Required</option> <option price="8">Floppy Disk Drive Black (+£7.48)</option> <option price="8">Floppy Disk Drive Silver (+£7.48)</option> </select> </td></tr> <tr><td align="right">Sound Card: </td><td> <select name="sound_card" onchange="updatePrice(this)"> <option>Onboard Sound</option> <option price="12">Genius Sound Maker 5.1 V2 (+£11.48)</option> <option price="41">Sound Blaster Audigy 4 7.1 (+£40.12)</option> <option price="128">Terratec Aureon 7.1 Universe (+£127.12)</option> </select> </td></tr> <tr><td align="right">Keyboard: </td><td> <select name="keyboard" onchange="updatePrice(this)"> <option>Not Required</option> <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option> <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option> </select> </td></tr> <tr><td align="right">Mouse: </td><td> <select name="mouse" onchange="updatePrice(this)"> <option>Not Required</option> <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option> <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option> </select> </td></tr> <tr><td align="right">Speakers: </td><td> <select name="speakers" onchange="updatePrice(this)"> <option>Not Required</option> <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option> <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option> </select> </td></tr> <tr><td align="right">Monitor: </td><td> <select name="monitor" onchange="updatePrice(this)"> <option>Not Required</option> <option price="32">40GB Maxtor DiamondMax IDE (+£31.86)</option> <option price="35">80GB ExcelStor ESJ880S SATA II (+£34.72)</option> </select> </td></tr> <tr><td align="right">Operating System: </td><td> <select name="operating_system" onchange="updatePrice(this)"> <option>Not Required</option> <option price="57">Microsoft Windows XP Home - (Installed for free) (+£56.58)</option> <option price="94">Microsoft Windows XP Professional - (Installed for free) (+£93.08)</option> </select> </td></tr> <tr><td align="right">Building Fee: </td><td> <select name="building_fee"> <option>Building and Testing (+£25)</option> </select> </td></tr> <tr><td align="right">Parts Shipping: </td><td> <select name="parts_shipping"> <option>Standard shipping (+£5.79)</option> </select> </td></tr> <tr><td align="right">Payment Option: </td><td> <select name="payment_option" onChange="checkPayPal(this)"> <option>Cash (Free)</option> <option value="PayPal">Secure online charging (+3.2% total cost for PayPal fee)</option> <option>Cheque (Free)</option> </select> </td></tr></table> <br /> </div> <div align="center"> <span class="style1" id="price">£0000</span><br /><br /> <input type="image" src="images/buttons/continue.gif" alt="Continue" name="continue"><br /><br /> </div> </div> <?php include "footer.inc.php"; ?>[!--colorc--][/span][!--/colorc--]
  4. That fixed it, I did the clear thing you said and it worked perfect. Your a genius. Cheers
  5. Hi im trying to make a page on my site where you can customise a computer from drop down menus and then send the spec through the contact form. Im want it to have a price at the bottom which auto updates when you click on certain components like on dells customize page, and then when all the components are picked you click continue at the bottom and it sends you to the contact us page and copies a spec list of what you've chosen directly into the message part of the form which then means the person puts in there details in the other fields and then click send and it sends it to me so I can charge them through a paypal email. Iv got my site this far but im really stuck on this part. Any help would be great. Anyway heres the url-"www.hxtreme.byethost31.com/home_office.php". And heres the code for the page: Cheers...... <?php include "header.inc.php"; ?> <style type="text/css"> <!-- .style1 { font-size: 18px; color: #FF6600; } --> </style> <div id="content"> <div class="title"> <h1>-Home/Office-</h1> </div> <div class="custom"> <h3>Cases</h3> <img src="" alt="" height="120" width="100"/>&nbsp; <img src="" alt="" height="120" width="100"/>&nbsp; <img src="" alt="" height="120" width="100"/>&nbsp; <img src="" alt="" height="120" width="100"/>&nbsp; <img src="" alt="" height="120" width="100"/><br /><br /> </div> <div class="full_"> <h3 align="center">Available Options:</h3> <table border="0" cellpadding="0" cellspacing"0" align="center"> <tr><td class="main" align="right">Case:&nbsp;</td><td> <select name="id[18]"><option value="97">A-Pod Case Black - 400 watt PSU (+£26.55)</option><option value="98">A-Pod Case White - 400 watt PSU (+£27.93)</option><option value="99">X-Blade Black Case - 450 watt PSU (+£33.54)</option><option value="100">Gladiator Case Silver/Black - 500 watt PSU (+£34.88)</option><option value="101">Asus TA-210 Black Case - 360 watt PSU (+£41.68)</option><option value="104">CoolerMaster Centurion 534 - 450 watt PSU (+£52.58)</option><option value="105">CoolerMaster Cavalier 3 - 450 watt PSU (+£55.69)</option><option value="102">Chieftec Mesh LCX-01 Blue - 410 watt PSU (+£80.87)</option><option value="103">Lian Li PC-6289 - 450 watt PSU (+£97.38)</option></select></td></tr> <tr><td class="main" align="right">Processor:&nbsp;</td><td> <select name="id[1]"><option value="3">2800+ AMD Sempron 64-bit - (Select Socket 754 motherboard) (+£51.00)</option><option value="4">3000+ AMD Athlon 64-bit - (Select Socket 754 motherboard) (+£86.98)</option><option value="7">3500+ AMD Athlon 64-bit - (Select Socket 939 motherboard) (+£127.89)</option><option value="9">3800+ AMD Athlon 64 X2 (Dual) - (Select Socket 939 motherboard) (+£217.77)</option><option value="11">4800+ AMD Athlon 64 X2 (Dual) - (Select Socket 939 motherboard) (+£467.38)</option> </select></td></tr> <tr><td class="main" align="right">Graphics:&nbsp;</td><td> <select name="id[20]"><option value="120">Onboard Graphics - (Select `with Onboard Graphics' in Mainboard option list)</option><option value="112">AGP - 64MB Inno3D MX4000 - (Not for AMD Socket 939 cpu's) (+£21.87)</option><option value="113">PCI-E - 256MB Inno3D 6200 TurboCache (+£34.58)</option><option value="114">PCI-E - 256MB Sparkle GeForce 6600 (+£64.55)</option><option value="115">PCI-E - 256MB XFX GeForce 7600GS XT (+£101.97)</option><option value="116">PCI-E - 256MB Inno3D GeForce 7600GT (+£132.96)</option><option value="117">PCI-E - 256MB Sparkle GeForce 7900GT (+£223.68)</option><option value="118">PCI-E - 2x (SLI) 256MB Inno3D 7600GT - (Select SLI mainboard) (+£286.96)</option><option value="119">PCI-E - 2x (SLI) 256MB Sparkle 7900GT - (Select SLI mainboard) (+£446.36)</option></select></td></tr> <tr><td class="main" align="right">Hard Drive 1:&nbsp;</td><td> <select name="id[3]"><option value="16">40GB Maxtor DiamondMax IDE (+£31.86)</option><option value="17">80GB ExcelStor ESJ880S SATA II (+£34.72)</option><option value="18">160GB Maxtor SATA II (+£48.97)</option><option value="19">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option><option value="20">250GB Western Digital Caviar SE (+£61.22)</option><option value="21">300Gb Maxtor DiamondMax (+£77.79)</option><option value="22">400GB Maxtor DiamondMax 11 (+£121.97)</option><option value="23">500GB Western Digital Caviar SE 16 (+£192.94)</option></select></td></tr> <tr><td class="main" align="right">Hard Drive 2:&nbsp;</td><td> <select name="id[4]"><option value="85">Not Required</option><option value="16">40GB Maxtor DiamondMax IDE (+£31.86)</option><option value="17">80GB ExcelStor ESJ880S SATA II (+£34.72)</option><option value="18">160GB Maxtor SATA II (+£48.97)</option><option value="19">200GB Maxtor DiamondMax 10 SATA II (+£54.99)</option><option value="20">250GB Western Digital Caviar SE (+£61.22)</option><option value="21">300Gb Maxtor DiamondMax (+£77.79)</option><option value="22">400GB Maxtor DiamondMax 11 (+£121.97)</option><option value="23">500GB Western Digital Caviar SE 16 (+£192.94)</option></select></td></tr> <tr><td class="main" align="right">CD/DVD Drive 1:&nbsp;</td><td> <select name="id[5]"><option value="32">Samsung 52x 32x 52x Black CDRW (+£15.67)</option><option value="33">Sony 52x 32x 52x Silver CDRW (+£16.86)</option><option value="34">Philips 16x DL DVD±RW Black (+£28.27)</option><option value="35">NEC-3550GNS 16x DVD±RW DL Silver (+£28.94)</option><option value="36">Samsung SH-S162L 16x DL DVD±RW Black LightScribe (+£29.49)</option></select></td></tr> <tr><td class="main" align="right">CD/DVD Drive 2:&nbsp;</td><td> <select name="id[6]"><option value="85">Not Required</option><option value="32">Samsung 52x 32x 52x Black CDRW (+£15.67)</option><option value="33">Sony 52x 32x 52x Silver CDRW (+£16.86)</option><option value="34">Philips 16x DL DVD±RW Black (+£28.27)</option><option value="35">NEC-3550GNS 16x DVD±RW DL Silver (+£28.94)</option><option value="36">Samsung SH-S162L 16x DL DVD±RW Black LightScribe (+£29.49)</option></select></td></tr> <tr><td class="main" align="right">Floppy Drive/Card Reader:&nbsp;</td><td> <select name="id[7]"><option value="85">Not Required</option><option value="94">Floppy Disk Drive Black (+£7.48)</option><option value="95">Floppy Disk Drive Silver (+£7.48)</option></select></td></tr> <tr><td class="main" align="right">Sound Card:&nbsp;</td><td> <select name="id[9]"><option value="53">Onboard Sound</option><option value="54">Genius Sound Maker 5.1 V2 (+£11.48)</option><option value="55">Sound Blaster Audigy 4 7.1 (+£40.12)</option><option value="56">Terratec Aureon 7.1 Universe (+£127.12)</option></select></td></tr> <tr><td class="main" align="right">Keyboard:&nbsp;</td><td> <select name="id[10]"><option value="85">Not Required</option><option value="57">Windows Silver/Black Keyboard (+£3.83)</option><option value="58">Genius Comfy KB-06X Black (+£7.28)</option><option value="59">Genius SlimMate 300 (+£11.53)</option><option value="60">Hiper Silver Alloy Keyboard (+£22.48)</option><option value="61">Hiper Black Alloy Keyboard (+£24.78)</option><option value="62">Saitek Eclipse Blue (+£34.55)</option><option value="63">Gemini-M1 (Keyboard & Mouse, leave mouse option blank) (+£16.15)</option></select></td></tr> <tr><td class="main" align="right">Mouse:&nbsp;</td><td> <select name="id[11]"><option value="85">Not Required</option><option value="64">Black PS2 Mouse (+£1.98)</option><option value="65">Genius Netscroll (+£3.58)</option><option value="66">Genius XScroll Optical Black (+£4.96)</option><option value="67">Microsoft Wheel Mouse Optical (+£11.48)</option><option value="69">Microsoft Intellimouse Optical Black (+£13.87)</option><option value="70">Raptor Gaming M1 (+£20.79)</option><option value="71">Logitech G7 Laser Cordless Mouse (+£61.33)</option></select></td></tr> <tr><td class="main" align="right">Speakers:&nbsp;</td><td> <select name="id[12]"><option value="85">Not Required</option><option value="72">Logitech S100 (2.0 Stereo) (+£7.83)</option><option value="73">Creative SBS260 (2.0 Stereo) (+£9.83)</option><option value="76">Genius GHT-502 (5.1 Surround Ultra Thin) (+£34.09)</option><option value="75">Logitech S200 (2.1 Speakers & Sub) (+£43.03)</option><option value="77">Altec Lansing GT-5051R (5.1 True Surround w/out rears) (+£64.48)</option></select></td></tr> <tr><td class="main" align="right">Monitor:&nbsp;</td><td> <select name="id[13]"><option value="85">Not Required</option><option value="78">15&quot; Proview TFT - Silver (+£100.89)</option><option value="79">17&quot; Proview TFT - Silver (+£129.98)</option><option value="80">19” BTC TFT - Silver/Black (+£139.49)</option><option value="123">15&quot; NEC TFT - Silver (+£133.66)</option><option value="124">17&quot; Hyundai TFT - Black (+£156.00)</option><option value="125">19&quot; Hyundai TFT - Black (+£214.04)</option></select></td></tr> <tr><td class="main" align="right">Operating System:&nbsp;</td><td> <select name="id[14]"><option value="85">Not Required</option><option value="81">Microsoft Windows XP Home - (Installed for free) (+£56.58)</option><option value="82">Microsoft Windows XP Professional - (Installed for free) (+£93.08)</option></select></td></tr></table><br /> </div> <div align="center"> <span class="style1">£0000</span><br /><br /> <input type="image" src="images/buttons/select.gif" alt="Continue" name="continue"><br /><br /> </div> </div> <?php include "footer.inc.php"; ?>
  6. Hi Im having a problem with my products page showing correct on firefox, it works right on ie6 but not on firefox. Heres the url-www.hxtreme.byethost31.com/products.php And heres the stylesheet. Cheers..Tom.... body{ font-family: Arial, Helvetica, sans-serif; width: 760px; color: #333333; font-size: 80%; line-height: 1.166; margin: auto; background-color: #CADDFE; } h1{ font-size: 18px; font-style: bold; } h2{ color: #999999; font-size: 16px; font-style: italic; } h3{ color: #FF9900; font-size: 14px; font-style: bold; } #header{ width: 97.5%; height: 70px; border-top: solid #000000 1px; border-left: solid #000000 1px; border-right: solid #000000 1px; border-bottom: solid #000000 1px; padding-right: 1.25%; padding-left: 1.25%; background-image: url(images/background/header.gif); background-repeat: repeat; } .logo_{ float: left; padding-left: 65px; } .ads_{ float: right; padding-top: 5px; padding-bottom: 5px; } #navigation{ text-align: center; width: 97.5%; height: 20px; border-left: solid #000000 1px; border-right: solid #000000 1px; border-bottom: solid #000000 1px; padding-right: 1.25%; padding-left: 1.25%; background-image: url(images/background/navigation.gif); background-repeat: repeat; } #content{ width: 97.5%; border-left: solid #000000 1px; border-right: solid #000000 1px; background-color: #FFFFFF; padding-right: 1.25%; padding-left: 1.25%; } .title{ border-bottom: dashed #F3F3F3 2px; text-align: center; padding-top: 1px; padding-bottom: 1px; } .full_{ padding-top: 2px; padding-bottom: 2px; } .custom{ text-align:center; padding-top: 2px; padding-bottom: 2px; } .contact{ text-align: center; padding-top: 2px; padding-bottom: 2px; } #content2{ width: 97.5%; border-left: solid #000000 1px; border-right: solid #000000 1px; background-color: #FFFFFF; padding-right: 1.25%; padding-left: 1.25%; } .desc{ float: left; padding-top: 2px; padding-bottom: 2px; } .picprice{ float: right; text-align: right; padding-top: 20px; padding-bottom: 2px; } #footer{ width: 97.5%; height: 40px; border-top: solid #000000 1px; border-bottom: solid #000000 1px; border-left: solid #000000 1px; border-right: solid #000000 1px; padding-right: 1.25%; padding-left: 1.25%; background-image: url(images/background/footer.gif); background-repeat: repeat; } .foot_{ float: left; padding-left: 50px; text-align: center; padding-top: 7px; padding-bottom: 8px; font-size: 80%; } .left{ float: left; padding-top: 5px; padding-bottom: 3px; } .right{ float: right; padding-top: 5px; padding-bottom: 3px; }
  7. cheers Andy, It was annoying cos it wasnt in any of the code in the seperate files but was on the web, but I selected the visible code in dreamweaver from the footer.inc and pasted it into a new file and it worked perfectly. I think the new office sharepoint 2007 did it cos I thought id try it, still prefer dreamweaver 8. Has anyone got any clue why the style sheet for products doesnt work in firefox, its the #content part and ends at #footer in the stylesheet. cheers guys. also tables in the css for like the top banner is 1 pixel too big in ie6 but fine in everything else
  8. Im making a site which uses includes for header and footer files. But on my products page it doesnt work properly on firefox but does on ie6. Also on ie7 theres a gap inbetween the footer and content with "" in it which isnt anywhere in the code. anyway Im hoping any of you know why these problems are happening. Any help would be great. Heres the url "www.hxtreme.byethost31.com" and heres my style sheet: Cheers..Tom body{ font-family: Arial, Helvetica, sans-serif; width: 760px; color: #333333; font-size: 80%; line-height: 1.166; margin: auto; background-color: #E6F7FF; } h1{ font-size: 18px; font-style: bold; } h2{ color: #999999; font-size: 16px; font-style: italic; } h3{ color: #FF9900; font-size: 14px; font-style: bold; } #header{ width: 97.5%; height: 70px; border-top: solid #000000 1px; border-left: solid #000000 1px; border-right: solid #000000 1px; border-bottom: solid #000000 1px; padding-right: 1.25%; padding-left: 1.25%; background-image: url(images/background/header.gif); background-repeat: repeat; } .logo_{ float: left; padding-left: 65px; } .ads_{ float: right; padding-top: 5px; padding-bottom: 5px; } #navigation{ text-align: center; width: 97.5%; height: 20px; border-left: solid #000000 1px; border-right: solid #000000 1px; border-bottom: solid #000000 1px; padding-right: 1.25%; padding-left: 1.25%; background-image: url(images/background/navigation.gif); background-repeat: repeat; } #content{ width: 97.5%; border-left: solid #000000 1px; border-right: solid #000000 1px; background-color: #FFFFFF; padding-right: 1.25%; padding-left: 1.25%; } .title{ border-bottom: dashed #F3F3F3 2px; text-align: center; padding-top: 1px; padding-bottom: 1px; } .full_{ padding-top: 2px; padding-bottom: 2px; } .contact{ text-align: center; padding-top: 2px; padding-bottom: 2px; } #content2{ width: 97.5%; border-left: solid #000000 1px; border-right: solid #000000 1px; background-color: #FFFFFF; padding-right: 1.25%; padding-left: 1.25%; } .desc{ float: left; padding-top: 2px; padding-bottom: 2px; } .picprice{ float: right; text-align: right; padding-top: 20px; padding-bottom: 2px; } #content-tick{ width: 97.5%; background-color: #FFFFFF; border-top: solid #F3F3F3 1px; border-left: solid #000000 1px; border-right: solid #000000 1px; padding-right: 1.25%; padding-left: 1.25%; } .cont-tick_{ padding-top: 2px; padding-bottom: 2px; } #footer{ width: 97.5%; height: 40px; border-top: solid #000000 1px; border-bottom: solid #000000 1px; border-left: solid #000000 1px; border-right: solid #000000 1px; padding-right: 1.25%; padding-left: 1.25%; background-image: url(images/background/footer.gif); background-repeat: repeat; } .foot_{ float: left; padding-left: 50px; text-align: center; padding-top: 7px; padding-bottom: 8px; font-size: 80%; } .left{ float: left; padding-top: 5px; padding-bottom: 3px; } .right{ float: right; padding-top: 5px; padding-bottom: 3px; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.