- Toate
- Exterior
- Interior
setTimeout(function () { jQuery(".thumbnail_4664").each(function(){ // console.log(jQuery(this).width() + "x" + jQuery(this).height()) var h = jQuery(this).height(); var w = jQuery(this).width(); jQuery(this).height(h); jQuery(this).width(w); jQuery(this).resize(); }); }, 2500);
jQuery(document).ready(function (jQuery) { jQuery('.filtr-item').addClass('animateonload'); jQuery('#filter_gallery_4664').show(); jQuery('.loading-wrapper').hide(); jQuery(".loader_img").hide(); jQuery(".lg_load_more").show(); jQuery(".filtr-container").css("opacity", 1); //Filterizd Default options options = { animationDuration: 0.5, callbacks: { onFilteringStart: function() { }, onFilteringEnd: function() { }, onShufflingStart: function() { }, onShufflingEnd: function() { }, onSortingStart: function() { }, onSortingEnd: function() { } }, controlsSelector: '.filtr-controls-4664', filter: 'all', filterOutCss: { top:'0px', left:'0px', opacity: 0.001, transform: '' }, filterInCss: { top:'0px', left:'0px', opacity: 1, transform: '' }, layout: 'sameWidth', selector: '.filtr-item', setupControls: false } var filterizd = jQuery('.filter_gallery_4664').filterizr(options); //filterizd.filterizr('sort', 'domIndex', 'desc'); jQuery('.filter_gallery_4664').imagesLoaded( function() { // images have already loaded, instantiate Filterizr jQuery('.filter_gallery_4664').filterizr(options); });
//bootstrap-lightbox-js // delegate calls to data-toggle="lightbox" document.addEventListener('DOMContentLoaded', (event) => { document.querySelectorAll('.my-lightbox-toggle').forEach((el) => { el.addEventListener('click', (e) => { e.preventDefault();
const options = { keyboard: true, size: 'fullscreen' };
// Assuming Lightbox is a constructor from the included library // Check if the Lightbox class or function exists if (typeof Lightbox !== 'undefined') { const lightbox = new Lightbox(el, options); lightbox.show(); } else { console.error('Lightbox library is not loaded.'); } }); }); }); jQuery('.filtr-control-4664 [data-filter]').click(function() { //jQuery('.swiper-4664').swipebox('swipebox-destroy'); var targetFilter = jQuery(this).data('filter'); var lighbox_class_name = "pfg-lightbox-" + targetFilter; jQuery('.pfg-lightbox-' + targetFilter ).attr('data-lightbox', lighbox_class_name); // add data filter for parent filters });
// video player jQuery(function(){ jQuery("a.video-box-4664").YouTubePopUp( { autoplay: 0 } ); // Disable autoplay });
});