.block:not(.ignore) {
color: red;
}
.block:not(.ignore) ~ .block{
color: black;
}
.construction_item a:after {
content: '\276F';
padding-left: 0.5em;
animation: slide-icon alternate 3s infinite;
display: inline-block;
}
@keyframes slide-icon {
0% { transform: translate(0, 0); }
100% { transform: translate(10px, 0); }
}
$('.your-element').on('beforeChange', function(event, slick, currentSlide, nextSlide){
console.log(nextSlide);
});
$('.slider').bxSlider({
mode: 'vertical',
pager: false,
minSlides: 2
});
if ($product_info['image']) {
$data['popup'] = $this->model_tool_image->resize($product_info['image'], $this->config->get('theme_' . $this->config->get('config_theme') . '_image_popup_width'), $this->config->get('theme_' . $this->config->get('config_theme') . '_image_popup_height'));
} else {
$data['popup'] = '';
}
if ($product_info['image']) {
$data['popup'] = 'image/' . $product_info['image'];
} else {
$data['popup'] = '';
}
var prices = $('.prices');
var pricesTop = prices.offset().top;
$(window).bind('scroll', (function(){
var windowTop = $(this).scrollTop();
if (windowTop > pricesTop) {
$(window).unbind('scroll');
$('.map').html('<script type="text/javascript" charset="utf-8" async src="https://api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor%3A6f395da07b4cc10029b3d2589ad9899f17ad6d15aed62d554f3955a7e1fe09f9&width=100%25&height=373&lang=ru_RU&scroll=true"></script>');
}
}));
var prices = $('.prices');
if (prices.length) {
var pricesTop = prices.offset().top;
$(window).bind('scroll', (function(){
var windowTop = $(this).scrollTop();
if (windowTop > pricesTop) {
$(window).unbind('scroll');
$('.map').html('<script type="text/javascript" charset="utf-8" async src="https://api-maps.yandex.ru/services/constructor/1.0/js/?um=constructor%3A6f395da07b4cc10029b3d2589ad9899f17ad6d15aed62d554f3955a7e1fe09f9&width=100%25&height=373&lang=ru_RU&scroll=true"></script>');
}
}));
}
<a href="#marketWidgetmodal2" class="tooltip-window__button js-price-more">Узнать цены</a>
<!-- Окно с виджетом -->
<div style="display: none;">
<div class="form-popup" id="marketWidgetmodal2">
<div id="marketWidgetmodal"></div>
</div>
</div>