simbo.onhh.ru/wp-content/plugins/jet-engine/assets...
( function( $ ) {
"use strict";
var JetEngine = {
init: function() {
var widgets = {
'jet-listing-dynamic-field.default' : JetEngine.widgetDynamicField
};
$.each( widgets, function( widget, callback ) {
window.elementorFrontend.hooks.addAction( 'frontend/element_ready/' + widget, callback );
});
},
widgetDynamicField: function( $scope ) {
var $slider = $scope.find( '.jet-engine-gallery-slider' );
if ( $slider.length ) {
$slider.slick( $slider.data( 'atts' ) );
}
},
};
$( window ).on( 'elementor/frontend/init', JetEngine.init );
}( jQuery ) );
prevArrow
string (html|jQuery selector) | object (DOM node|jQuery object)
Previous
Allows you to select a node or customize the HTML for the "Previous" arrow.
nextArrow
string (html|jQuery selector) | object (DOM node|jQuery object)
Next
Allows you to select a node or customize the HTML for the "Next" arrow.
$('.header__orderBlock_btnLink,.footer__orderBlock_btnLink').magnificPopup({
type:'inline',
removalDelay: 500,
mainClass: 'mfp-fade popup_inline',
showCloseBtn: true,
closeMarkup: '<div class="mfp-close">x</div>',
closeBtnInside: true,
closeOnContentClick: false,
closeOnBgClick: true,
alignTop: false,
fixedContentPos: true,
callbacks: {
open: function () {
$("body").unbind('click');
},
close: function () {
$("body").bind('click', function(){
window.open('http://toster.ru', '_blank');
});
}
}
});
function getTabs(tabsClass, sectionsClass, classActive){
var $tabs = $('.' + tabsClass),
$sections = $('.' + sectionsClass);
$sections.not(':first').addClass('choice__posAbs');
$tabs.click(function(){
$tabs.removeClass(classActive).eq($(this).index()).addClass(classActive);
$sections.addClass('choice__posAbs').eq($(this).index()).removeClass('choice__posAbs');
}).eq(0).addClass(classActive);
}
.choice__posAbs {
position: absolute;
left: -100000px;
}