This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Ajax отправка формы обратной связи | |
$('form').submit(function() | |
{ | |
$.ajax( | |
{ | |
type: 'POST', | |
url: 'mail.php', | |
data: $(this).serialize() | |
}).done(function() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Создаем выделение пунктов меню с зажатыми клавишами на клавиатуре</title> | |
<style> | |
li | |
{ | |
width: 200px; | |
cursor: pointer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$method = $_SERVER['REQUEST_METHOD']; | |
// Переключает чередование цветов ячеек таблицы | |
$color = true; | |
if ( $method === 'POST' ) { | |
$project_name = trim($_POST["project_name"]); | |
$admin_email = trim($_POST["admin_email"]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Объявление попап-функций. Плагин Magnific Popup | |
var opensuccessPopup = function() { | |
$.magnificPopup.open({ | |
items: { src: '#success-popup' }, | |
type: 'inline', | |
fixedContentPos: false, | |
fixedBgPos: true, | |
overflowY: 'auto', | |
closeBtnInside: true, | |
preloader: false, |
NewerOlder