P
plemon
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<title>Untitled Document</title>
<script type="text/javascript">var v11 = + $0; var v12 = + $25; var v13
= + $75 var v14 = + $100;
function f1()
{ if(document.form1.rb1[0].checked) var v11 = + $0; var v12 = + $25;
var v13 = + $75; var 1v4 = + $100; else
if(document.form1.rb1[1].checked) var v11 = - $25; var v12 = + $0; var
v13 = + $25; var v14 = + $50; else
if(document.form1.rb1[2].checked) var v11 = - $50; var v12 = - $25; var
v13 = + $0; var v14 = + $25; else
if(document.form1.rb1[3].checked) var v11 = - $75; var v12 = - $50; var
v13 = - $25; var v14 = + $0;}
</script>
</head>
<body>
<form name="form1">
<input type="radio" name="rb1" value="$799.97" checked
onclick="f1()">Computers<br/>
<input type="radio" name="rb1" value="$26.95"
onclick="f1()">Books<br/>
<input type="radio" name="rb1" value="$1.99"
onclick="f1()">Pencils<br/>
<input type="radio" name="rb1" value="$0.99"
onclick="f1()">Paper<br/>
<script type="text/javascript">
document.write(v11, v12, v13, v14)</script>
</body>
</html>
im trying to get in effect what you see on dell.com or alienware.com
when you change a computer componet like say instead of hard drive X
you choose hard drive Y all the prices change next to each componet i
know my document.write is in the wrong place to be exactly like the
dell ect. i was just trying to see if i could get it to work which i...
cant
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
<title>Untitled Document</title>
<script type="text/javascript">var v11 = + $0; var v12 = + $25; var v13
= + $75 var v14 = + $100;
function f1()
{ if(document.form1.rb1[0].checked) var v11 = + $0; var v12 = + $25;
var v13 = + $75; var 1v4 = + $100; else
if(document.form1.rb1[1].checked) var v11 = - $25; var v12 = + $0; var
v13 = + $25; var v14 = + $50; else
if(document.form1.rb1[2].checked) var v11 = - $50; var v12 = - $25; var
v13 = + $0; var v14 = + $25; else
if(document.form1.rb1[3].checked) var v11 = - $75; var v12 = - $50; var
v13 = - $25; var v14 = + $0;}
</script>
</head>
<body>
<form name="form1">
<input type="radio" name="rb1" value="$799.97" checked
onclick="f1()">Computers<br/>
<input type="radio" name="rb1" value="$26.95"
onclick="f1()">Books<br/>
<input type="radio" name="rb1" value="$1.99"
onclick="f1()">Pencils<br/>
<input type="radio" name="rb1" value="$0.99"
onclick="f1()">Paper<br/>
<script type="text/javascript">
document.write(v11, v12, v13, v14)</script>
</body>
</html>
im trying to get in effect what you see on dell.com or alienware.com
when you change a computer componet like say instead of hard drive X
you choose hard drive Y all the prices change next to each componet i
know my document.write is in the wrong place to be exactly like the
dell ect. i was just trying to see if i could get it to work which i...
cant