YOUR SMARTPHONE OR YOUR DOG … WHICH WOULD YOU GIVE UP FOR A MONTH?
“);
$spagination = flexSlider.find(“.spagination”);
SPagination.Init($spagination.get( 0 ), {
size: slide_obj.count, // pages size
page: 1, // selected page
step: 3, // pages before and after current
cb: function(p){
flexSlider.flexAnimate(p-1, true);
}
});
}
}
}
function gtx_gallery_slide_before(slide_obj){
var slide=slide_obj.animatingTo;
$active_slide=$all_slides.eq(slide) ;
slideshow_ad_loaded = false;
var current_html = $active_slide.children(“.gtx-ad-container”).html();
if (current_html) {$active_slide.children(“.gtx-ad-container”).html(current_html.trim())}
gtx_mixpanel_track_slide( slide_obj );
changeURL(parseInt($active_slide.attr(“data-attachment_id”)));
//THUMBS SYNC – PAGINATED THUMBNAIL NAVIGATION
if($thumbs!==”” navigation == “paginated_thumbs”){
var right_item=$slider.find(“.slides li[data-i=”+(slide +1 )+”]”).attr(“data-i-only-pics”)
if( right_item!= “”){
$thumbs.find(“li.gtx-thumb-img”).removeClass(“flex-active-slide”);
$thumbs.find(“li.gtx-thumb-img[data-i=”+(slide +1 )+”]”).addClass(“flex-active-slide”);
$page=$thumbs.find(“.slidesli”).has(“li[data-i=”+(slide +1 )+”]”);
$thumbs.flexAnimate($page.index(), true);
}
}
}
function gtx_gallery_slide_after(slide_obj){
var slide=slide_obj.animatingTo;
$active_slide=$all_slides.eq(slide) ;
if($active_slide.hasClass(“gtx-ad-slide”)==1){
if ($active_slide.find(‘iframe’).length === 1) {
$active_slide.find(‘iframe’)[0].remove();
}
$slider.delay(100).queue(function(){
$(this).addClass(“gtx-gallery-loading”).dequeue();
});
$ad_container=$active_slide.children(“.gtx-ad-container”).first();
if ($($ad_container).html().length li[data-i=”+(slide +1 )+”]”).attr(“data-i-only-pics”)
if( right_item!= “”){
$thumbs.find(“li.gtx-thumb-img”).removeClass(“flex-active-slide”);
$thumbs.find(“li.gtx-thumb-img”).eq(right_item -1 ).addClass(“flex-active-slide”);
$thumbs.flexAnimate(right_item-1, true);
}
}
if(typeof(googletag) != “undefined” googletag !== null){
//REFRESH ALL ADS
var tmp_now=new Date().getTime();
Article source: https://www.wltz.com/2020/09/23/survey-40-would-give-up-their-dog-over-phone/
Recent Comments