[CODE]
<SCRIPT TYPE=”text/javascript”>
function Woo(){
var valu4 = (‘no’);
var valu1 = prompt(‘Hight in cm =’,’0′);
var valu2 = prompt(‘Width in cm =’,’0′);
var valu3 = prompt(‘Weight in grams =’,’0′);
var valu4 = prompt(‘is it a parcel yes or no’,’?’);
if ((valu1<32)&&(valu2<25)&&(valu3<100)){(price=’30p’);}
if ((valu1>31)||(valu2>24)&&(valu3<100)){(price=’50p’);}
if ((valu1<32)&&(valu2<25)&&(valu3<500)){(price=’60p’);}
if ((valu1>31)||(valu2>24)&&(valu3<500)){(price=’80p’);}
if ((valu3<1000)&&(valu3>499)){(price=’£3.00′);}
if ((valu4=’yes’)&&(valu3<500)){(price=’£1.65′);}
if (valu3>999)
{price=3;
valu3-1000;
valu3/500;}
alert(price);}
</SCRIPT>
<body onload=”Woo()”;
</body>
this codes anoying me, i had it working yesterday, saved it, came back to it today.. and it died on me.
it only shows the value £1.65 every time…
please take a look and see if you could work out why this dosnt work XD
thanks in advance