baseTpl :
'<div class="fancybox-container" role="dialog" tabindex="-1">' +
'<div class="fancybox-bg"></div>' +
'<div class="fancybox-inner">' +
'<div class="fancybox-infobar">' +
'<button data-fancybox-prev title="{{PREV}}" class="fancybox-button fancybox-button--left"></button>' +
'<div class="fancybox-infobar__body">' +
'<span data-fancybox-index></span> / <span data-fancybox-count></span>' +
'</div>' +
'<button data-fancybox-next title="{{NEXT}}" class="fancybox-button fancybox-button--right"></button>' +
'</div>' +
'<div class="fancybox-toolbar">' +
'{{BUTTONS}}' +
'</div>' +
'<div class="fancybox-navigation">' +
'<button data-fancybox-prev title="{{PREV}}" class="fancybox-arrow fancybox-arrow--left" />' +
'<button data-fancybox-next title="{{NEXT}}" class="fancybox-arrow fancybox-arrow--right" />' +
'</div>' +
'<div class="fancybox-stage"></div>' +
'<div class="fancybox-caption-wrap">' +
'<div class="fancybox-caption"></div>' +
'</div>' +
'</div>' +
'</div>',
google.maps.event.addListener(metka_<?php echo $item['id']; ?>, 'click', function() {
var url = "<?php echo '<a href=/'.$item['slug'].'.html>'?>";
window.open(url, "_blank");
});
google.maps.event.addListener(metka_<?php echo $item['id']; ?>, 'click', function() {
window.location.href="<?php echo '<a href=/'.$item['slug'].'.html>'?>";
});
// On before slide change
$('.your-element').on('beforeChange', function(event, slick, currentSlide, nextSlide){
console.log(nextSlide);
});
$('.some-el').simplemarquee('update');
if( control ) {
if( self._options.isMobile && self._options.widgetWithSwipe ) {
jQuery(document).hammer({
direction: Hammer.DIRECTION_HORIZONTAL
}).bind('panright panleft', function(e){
if( ( self._options.direction == 'rtl' && e.type == 'panleft' ) || ( self._options.direction != 'rtl' && e.type == 'panright' ) ) {
if( hidden ) {
btn.trigger('click');
}
} else if( ( self._options.direction == 'rtl' && e.type == 'panright' ) || ( self._options.direction != 'rtl' && e.type == 'panleft' ) ) {
if( ! hidden ) {
btn.trigger('click');
}
}
});
}
}
$(".block-exuding-custom-block").css('position','absolute');
$(".block-exuding-custom-block").css('top', $qqq);