// To use lazy loading, set a data-lazy attribute
// on your img tags and leave off the src
<img data-lazy="img/lazyfonz1.png"/>
$('.lazy').slick({
lazyLoad: 'ondemand',
slidesToShow: 3,
slidesToScroll: 1
});
$(function(){
$(document).on('click','.emb', function(){
var block = $(this).closest('.meta-data');
if(block.is(':hidden')){
block.slideDown();
} else {
block.slideUp();
}
})
})
$(window).on('scroll', function() {
var scrollTop = $(this).scrollTop();
var block = $('.meta-data');
block.slideUp();
if (scrollTop < 545) {
block.slideUp();
}
});
input:checked + label:after {
content: 'ed';
}
if ($_SERVER["REQUEST_METHOD"] == "POST") {
if (isset($_POST['name'])) $name = $_POST['name'];
if (isset($_POST['phone'])) $phone = $_POST['phone'];
if (isset($_POST['email'])) $email = $_POST['email'];
if (isset($_POST['text'])) $text= $_POST['text'];
if (isset($_POST['kurs'])) $kurs= $_POST['kurs'];
if (isset($_POST['formData'])) $formData = $_POST['formData'];
}