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
| @mixin center($xy:xy) { | |
| @if $xy == xy { | |
| left: 50%; | |
| top: 50%; | |
| bottom: auto; | |
| right: auto; | |
| @include transform(translateX(-50%) translateY(-50%)); | |
| } | |
| @else if $xy == x { | |
| left: 50%; |
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
| jQuery.fn.swapWith = function(to) { | |
| return this.each(function() { | |
| var copy_to = $(to).clone(true); | |
| var copy_from = $(this).clone(true); | |
| $(to).replaceWith(copy_from); | |
| $(this).replaceWith(copy_to); | |
| }); | |
| }; | |
| $(selector1).swapWith(selector2); |
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
| docker run -p 25:25 -p 8081:8081 -p 443:443 -p 110:110 -p 143:143 -p 465:465 -p 587:587 -p 993:993 -p 995:995 -v /DOCKER_MAIL/data:/data -t analogic/poste.io:latest |
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
| <div class="design"><div class="header"><img class="portret" src="http://art-cinema.com/wp-content/themes/u-design/3d-design/portret.png"><p class="welcome_p"><span>Здравствуйте</span>, меня зовут Александр<br>я дизайнер 3ds Max, хочу предложить<br>вашей компании услуги по моделированию<br>и анимации мебели, здесь представлены<br>примеры некоторых моих работ</p></div><div class="sofa_wrapper" id="sofa1"><a class="various fancybox.iframe" href="http://www.youtube.com/embed/ktBDw1aczmQ?autoplay=1" id="view_link"><img src="http://art-cinema.com/wp-content/themes/u-design/3d-design/view_link.png"></a><img src="http://art-cinema.com/wp-content/themes/u-design/3d-design/view_youtube.png" id="view_youtube"><p id="description_sofa">Простые и красочные ролики раскладки диванов<br>могут украсить сайт вашей компании<br>или интернет магазина</p></div><div class="sofa_wrapper" id="sofa2"><a class="various fancybox.iframe" href="http://www.youtube.com/embed/O_jX7oZxGdk?autoplay=1" id="view_link"><img src="http://art-cinema |
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
| <title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title> |
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
| #loader { | |
| background: none repeat scroll 0 0 #ffffff; | |
| bottom: 0; | |
| height: 100%; | |
| left: 0; | |
| position: fixed; | |
| right: 0; | |
| top: 0; | |
| width: 100%; | |
| z-index: 9999; |
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
| Windows Registry Editor Version 5.00 | |
| [-HKEY_CLASSES_ROOT\Directory\Background\shell\Cmder] | |
| [-HKEY_CLASSES_ROOT\Directory\shell\Cmder] |
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 | |
| $recepient = "agragregra@ya.ru"; | |
| $sitename = "УЧЕБНЫЙ АДАПТИВНЫЙ САЙТ №1"; | |
| $name = trim($_GET["name"]); | |
| $phone = trim($_GET["phone"]); | |
| $pagetitle = "Новая заявка с сайта \"$sitename\""; | |
| $message = "Имя: $name \nТелефон: $phone"; |
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
| var top_show = 350; // В каком положении полосы прокрутки начинать показ кнопки "Наверх" | |
| var delay = 1000; // Задержка прокрутки | |
| $(document).ready(function() { | |
| $(window).scroll(function () { // При прокрутке попадаем в эту функцию | |
| /* В зависимости от положения полосы прокрукти и значения top_show, скрываем или открываем кнопку "Наверх" */ | |
| if ($(this).scrollTop() > top_show) $('#top').fadeIn(); | |
| else $('#top').fadeOut(); | |
| }); | |
| $('#top').click(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
| function heightDetect() { | |
| $(".main_head").css("height", $(window).height()); | |
| }; | |
| heightDetect(); | |
| $(window).resize(function() { | |
| heightDetect(); | |
| }); |