This file contains 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
#cart page - redirect (sample) | |
RewriteCond %{QUERY_STRING} ^_route_=checkout/cart$ | |
RewriteRule ^(.*)$ http://karamanskiy1.xx.co.ua/index.php?route=check-out? [R=301,L] |
This file contains 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
RewriteCond %{QUERY_STRING} ^route=account/address$ | |
RewriteRule ^index\.php /account? [R=301,L] |
This file contains 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
<meta name="theme-color" content="#629F26"> | |
<meta name="msapplication-navbutton-color" content="#629F26"> | |
<meta name="apple-mobile-web-app-status-bar-style" content="#629F26"> | |
<meta name="theme-color" content="#629F26"> | |
<meta property="og:site_name" content=""> | |
<meta property="og:locale" content="ru_RU"> | |
<meta name="og:type" content="website"> | |
<meta property="og:type" content="website"> | |
<meta property="og:url" content=""> | |
<meta property="og:title" content=""> |
This file contains 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
<script type="text/javascript"> | |
{ | |
if (screen.width <= 768) document.write ('<script type="text/javascript" src="libs/jquery/dist/jquery.mobile-1.4.2.min.js" ></sc' + 'ript>'); | |
} | |
</script> |
This file contains 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
<ul class="list-check"> | |
<li class="list-check__item"> | |
<label class="list-check__label"> | |
<input type="checkbox" name="check_1"> | |
<span class="label-text">Name_1</span> | |
</label> | |
</li> | |
<li class="list- check__item"> | |
<label class="list-check__label"> | |
<input type="radio" name="check_2"> |
This file contains 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
if($('.checkout-right').length){ | |
var offset_this = $('.checkout-right').offset().top; | |
var scr_top = $(document).scrollTop(); | |
var parent_box_height = $('.chechout-box').outerHeight(true); | |
$(document).scroll(function() { | |
scr_top = $(document).scrollTop(); | |
if((scr_top > offset_this)){ | |
$('.checkout-right').addClass('fixed'); | |
$('.checkout-right').css('right', $('.chechout-box').offset().left); | |
if(scr_top >= parent_box_height){ |
This file contains 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 style="display: none;"> | |
<div id="popup-callback" class="box-modal popup popup-callback"> | |
<div class="box-modal_close arcticmodal-close">×</div> | |
</div> | |
</div> | |
<link rel="stylesheet" href="libs/jquery.arcticmodal-0.3/jquery.arcticmodal-0.3.css"> | |
<script src="libs/jquery.arcticmodal-0.3/jquery.arcticmodal-0.3.min.js"></script> | |
<script> |
This file contains 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 () { | |
//блок для анимирования | |
var anim_txt = document.querySelector('.sk_anim_text span.big-block'); | |
var observer = new IntersectionObserver(entries => { | |
entries.forEach(entry => { | |
//перебор | |
if (typeof getCurrentAnimationPreference === 'function' && !getCurrentAnimationPreference()) { | |
return; |