Вот стили для формы:
.form-feedback.new input {
background: none repeat scroll 0 0 #273A71;
border: 1px solid #273A71;
border-radius: 3px;
float: left;
font-family: Georgia,Geneva,sans-serif;
font-size: 16px; color: #ffffff;
font-style: normal;
height: 50px;
line-height: 2;
margin: 0 10px 15px;
padding-left: 10px;
width: 300px;
}
.form-feedback.new #feedback_message {
background: none repeat scroll 0 0 #273A71;
border: 1px solid #273A71;
border-radius: 3px;
float: left;
font-family: Georgia,Geneva,sans-serif;
font-size: 16px; color: #ffffff;
font-style: normal;
height: 150px;
line-height: 2;
margin: 0 10px 15px;
padding-left: 10px;
width: 632px;
}
.form-feedback.new .button_med {
width: auto;
height:auto;
border: 1px;
}
Вот HTML код формы:
<div style="width:980px; text-align: center; position: absolute; top: 6340px; right: -123px; z-index: 66;">
<div>
<style>
.form-feedback {
position: relative;
}
.form-feedback > div:not(#nyroModalText) {
left: 20px;
overflow: hidden;
position: absolute;
text-align: right;
width: 665px;
}
.form-feedback input {
border: 1px solid #8D8D8D;
border-radius: 6px;
height: 40px;
margin-bottom: 1px;
width: 410px;
}
.form-feedback .button_med {
width: auto;
height: auto;
}
</style>
<div class="form-feedback new">
<div id="nyroModalText">Оставьте заявку</div>
<div style="height:310px;">
<form method="post" action="http://reklama-direct.ru/feedback#feedbackForm" enctype="multipart/form-data">
<div style="width: 665px; text-align: center;">
<div>
<input id="feedback_name" name="form[feedback_name]" value="" maxlength="50" minlength="3" class="input" placeholder="Ваше имя" required="required" />
<input id="feedback_еmail" name="form[feedback_email]" type="email" class="email" value="" maxlength="255" placeholder="Ваш E-mail*" required="required" />
<textarea id="feedback_message" name="form[feedback_message]" cols="100" rows="6" placeholder="Ваш комментарий" class="input"></textarea>
<div class="clr"></div>
<input type="submit" class="button_med" id="button88" value="отправить"/>
</div>
</form>
<script type="text/javascript">
$(function() {
setTimeout(function() {
$('form').append('<input type="hidden" name="hash" value="1644b8" />');
}, 400);
});
</script>
</div></div></div></div>
</div>
Код JS:
$(function() {
$('a[href="#form-feedback"]').click(function() {
$.nyroModalManual({
content: $('.form-feedback').clone().children('div').css('top', '70px').parent(),
width: 700,
height: 410
});
return(false);
});
});
Не могу понять, почему форма не работает...