@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansRegular/MuseoSansRegular.eot");
src: url("../fonts/MuseoSansRegular/MuseoSansRegular.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansRegular/MuseoSansRegular.woff") format("woff"),
url("../fonts/MuseoSansRegular/MuseoSansRegular.ttf") format("truetype");
font-style: normal;
font-weight: 300;
}
@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansBold/MuseoSansBold.eot");
src: url("../fonts/MuseoSansBold/MuseoSansBold.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansBold/MuseoSansBold.woff") format("woff"),
url("../fonts/MuseoSansBold/MuseoSansBold.ttf") format("truetype");
font-style: normal;
font-weight: 700;
}
@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansItalic/MuseoSansItalic.eot");
src: url("../fonts/MuseoSansItalic/MuseoSansItalic.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansItalic/MuseoSansItalic.woff") format("woff"),
url("../fonts/MuseoSansItalic/MuseoSansItalic.ttf") format("truetype");
font-style: italic;
font-weight: 300;
}
@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansLight/MuseoSansLight.eot");
src: url("../fonts/MuseoSansLight/MuseoSansLight.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansLight/MuseoSansLight.woff") format("woff"),
url("../fonts/MuseoSansLight/MuseoSansLight.ttf") format("truetype");
font-style: normal;
font-weight: 100;
}
@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansMedium/MuseoSansMedium.eot");
src: url("../fonts/MuseoSansMedium/MuseoSansMedium.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansMedium/MuseoSansMedium.woff") format("woff"),
url("../fonts/MuseoSansMedium/MuseoSansMedium.ttf") format("truetype");
font-style: normal;
font-weight: 500;
}
@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansBlack/MuseoSansBlack.eot");
src: url("../fonts/MuseoSansBlack/MuseoSansBlack.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansBlack/MuseoSansBlack.woff") format("woff"),
url("../fonts/MuseoSansBlack/MuseoSansBlack.ttf") format("truetype");
font-style: normal;
font-weight: 900;
}
@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansBoldItalic/MuseoSansBoldItalic.eot");
src: url("../fonts/MuseoSansBoldItalic/MuseoSansBoldItalic.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansBoldItalic/MuseoSansBoldItalic.woff") format("woff"),
url("../fonts/MuseoSansBoldItalic/MuseoSansBoldItalic.ttf") format("truetype");
font-style: italic;
font-weight: 700;
}
@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansMediumItalic/MuseoSansMediumItalic.eot");
src: url("../fonts/MuseoSansMediumItalic/MuseoSansMediumItalic.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansMediumItalic/MuseoSansMediumItalic.woff") format("woff"),
url("../fonts/MuseoSansMediumItalic/MuseoSansMediumItalic.ttf") format("truetype");
font-style: italic;
font-weight: 500;
}
@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansLightItalic/MuseoSansLightItalic.eot");
src: url("../fonts/MuseoSansLightItalic/MuseoSansLightItalic.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansLightItalic/MuseoSansLightItalic.woff") format("woff"),
url("../fonts/MuseoSansLightItalic/MuseoSansLightItalic.ttf") format("truetype");
font-style: italic;
font-weight: 100;
}
@font-face {
font-family: "MuseoSans";
src: url("../fonts/MuseoSansBlackItalic/MuseoSansBlackItalic.eot");
src: url("../fonts/MuseoSansBlackItalic/MuseoSansBlackItalic.eot?#iefix")format("embedded-opentype"),
url("../fonts/MuseoSansBlackItalic/MuseoSansBlackItalic.woff") format("woff"),
url("../fonts/MuseoSansBlackItalic/MuseoSansBlackItalic.ttf") format("truetype");
font-style: italic;
font-weight: 900;
}
body {
font-family: 'MuseoSans', Arial, sans-serif;
font-weight:300;
font-style:normal;
}
SELECT product FROM products WHERE rating=5
. Этот запрос возвращает нам все товары с рейтингом 5. Сервер формирует нам новую страницу, где вы видите все товары с рейтингом 5. function sendForm(form) {
// тут что-то происходит
}
<form class="" action="" method="post" onsubmit="sendForm(this);return false;">
</form>
function sendForm(form) {
$(form).find('.input-error').fadeOut();
}
function sendForm(form) {
var valid = formValidation(form);
if (valid) {
$(form).find('.input-error').fadeOut();
jQuery.ajax({
url: "/mail/mail.php",
data:$(form).serialize(),
type: "POST",
success:function(data){
$('#orderModal').modal('hide');
$('#successModal').modal('show');
$(form).find('input[type="text"]').val('');
},
error:function (data){
$(form).find('.form-error').html('Произошла какая-то ошибка. Попробуйте еще раз.').fadeIn();
}
});
}
}
text-overflow: ellipsis;