Нужно чтобы форма заказа на этой странице
Была такой же красивой и похожей на форму на этой странице
Код первой формы:
<form action="
" method="post" enctype="application/x-www-form-urlencoded" accept-charset="UTF-8">
<input type="hidden" value="1" name="Goods[2][quantity]">
<!-- <input type="hidden" value=" " name="CartAccount[name]"> -->
<div>
Имя: <input size="30" maxlength="55" name="CartAccount[name]" type="text">
</div>
<!-- <input type="hidden" value=" " name="CartAccount[email]"> -->
<div>
Email: <input size="30" maxlength="55" name="CartAccount[email]" type="text">
</div>
<div>
<input type="submit" value="Заказать">
</div>
</form>
Код второй формы:
<div align="center"><script language="JavaScript"><!--
var pref = '';
var p = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
for (var i=0;i<5;i++)
pref+=p.charAt(Math.floor(Math.random()*p.length));
var url = location.href;
if (url.indexOf('#')!=-1)
url = location.href.substr(0, location.href.indexOf('#'));
var src = '
small blue&btn_width=122&btn_height=38&btn_htop=0&__pref='+pref+'&__parent='+encodeURICompo nent(url);
var delay = Math.round(Math.random()*20)+30;
if (typeof UpdateFormHeight != 'function') {
function UpdateFormHeight(pref, frame) {
var h=null;
if (!h) {
var re = new RegExp("^#"+pref+"(\d+)");
if (location.hash.match(re)) {
h=RegExp.$1;
location.hash = '';
}
}
if (!h)
for (var i=0; i<2000; i+=10)
if (top.frames[pref+i]) {
h=i;
break;
}
if (h)
frame.style.height=h+'px';
setTimeout(function(){ UpdateFormHeight(pref, frame); }, delay*4);
}
}
var html = '<iframe src="'+src+ '" frameborder="0" scrolling="no" style="width:360px;height:136px;overflow:hidden;padding:15px 0px;" th=this; setTimeout(function(){ UpdateFormHeight(pref, th); }, '+delay+')"></iframe>';
document.write(html);
//--></script></div>