Показать сообщение отдельно
  #3 (permalink)  
Старый 15.01.2014, 19:29
Новичок на форуме
Отправить личное сообщение для BaHTuc Посмотреть профиль Найти все сообщения от BaHTuc
 
Регистрация: 15.01.2014
Сообщений: 7

ОлегА,
я пытаюсь сделать shopcard
вот код:

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<script src="jquery-ui-1.10.3.custom/js/jquery-1.9.1.js"></script>
<script src="jquery-ui-1.10.3.custom/js/jquery-ui-1.10.3.custom.min.js"></script>
<link rel="stylesheet" href="jquery-ui-1.10.3.custom/css/ui-lightness/jquery-ui-1.10.3.custom.min.css">
<style>
#container{ width: 970px; height:290px; background: #D2D2D2; margin: 0 auto;}
header{ border-bottom: 1px solid #969696; height70px; width: 970px; background: #C0C0C0; text-align: center;}
span{font-size: 20px; background: #FFF;}
#maamtwo{ background: none;}
#coupons{ clear:both; border-top: 1px solid #969696; border-bottom: 1px solid #969696; background: #BCBCBC;}
#center{height: 60px; width: 450px; margin: 0 auto;}
#coupons #center button{ float: left; margin-left: 40px; height: 50px; width: 90px; border: 1px solid #030303; box-shadow: 2px 2px 4px #181818; border-radius: 10px; text-align: center ; font-size: 21px;}
footer{ clear: both; text-align: center;}
</style>
</head>

<body>
<script>


</script>
<div id="container">
<header><h1>whot do you want to buy</h1></header>
<article>
<form id="forme">
<select id="chto">
<option id="bag" value="10">bag</option>
<option id="t-shirt" value="20">t-shirt</option>
<option id="shose" value="30">shose</option>
<option id="shirt" value="40">shirt</option>
<option id="pen" value="50">pen</option>
</select>
<input type="text" id="chtom"><br/>
<select id="kol">
<option id="one">1</option>
<option id="two">2</option>
<option id="three">3</option>
<option id="four">4</option>
<option id="five">5</option>
</select>
<input type="text" id="kolm"><br>
<div id="maam"><span id="maamtwo">price is(maam included 18%):</span></div>
<input type="text" id="akol">
</form>
</article>
<div id="coupons">
<div id="center">
<button id="couponone" onClick="fff">platinum card</button>
<button id="coupontwo">gold card</button>
<button id="couponthree">silcver card</button>
</div>
</div>
<footer><h1>Thank's for your buying</h1></footer>
</div>
</body>
</html>


к нему не могу написать скрипт
нужно что бы в инпуте выдавала цену(value)
и 3 купона с низу давали скидку
все это как то скомпоновать

Последний раз редактировалось BaHTuc, 15.01.2014 в 19:48.
Ответить с цитированием