Games of Glory – Announcement Assets

games of glory announcement assets b4ar.640

Slideshow: Games of Glory – Announcement Assets | Video Games, Wikis, Cheats, Walkthroughs, Reviews, News & Videos – IGN Middle East



ADVERTISEMENT




});
str += ”
$(‘body’, window.parent.document).append(str);
window.carousel_full_resize()
var carousel_full = $(‘#gallery-full’).swiper({
mode:’horizontal’,
autoplay: 5000,
calculateHeight: true,
loop: true,
keyboardControl: true,
updateOnImagesReady: true,
setWrapperSize: true,
preloadImages: false,
lazyLoading: true,
onSlideChangeEnd: function(carousel_full, evt) {
$(“.caption-text”).html($(“#gallery-full .swiper-slide.swiper-slide-active img “).attr(‘data-caption’));
},
});
$(“#gallery-full .swiper-slide img”).click(function() { carousel.stopAutoplay(); carousel_full.stopAutoplay(); carousel.slideNext(); carousel_full.slideNext(); });
$(“#swiper-next-full”).click(function() { carousel.stopAutoplay(); carousel_full.stopAutoplay(); carousel.slideNext(); carousel_full.slideNext(); });
$(“#swiper-prev-full”).click(function() { carousel.stopAutoplay(); carousel_full.stopAutoplay(); carousel.slidePrev(); carousel_full.slidePrev(); });
$(“.action-next”).click(function() { carousel.stopAutoplay(); carousel_full.stopAutoplay(); carousel.slideNext(); carousel_full.slideNext(); });
$(“.action-previous”).click(function() { carousel.stopAutoplay(); carousel_full.stopAutoplay(); carousel.slidePrev(); carousel_full.slidePrev(); });
$(“#swiper-fullscreen-close”).click(function() { $(“.gallery-widget-lightbox”).remove()});
$(“.caption-title”).text($(“.gallery-details”).text());
$(“#adkit_mrec1”).clone().appendTo(“#adkit_mrec1_full”);
carousel.stopAutoplay();
carousel_full.slideTo(carousel.activeIndex);
});
$(window).on(‘resize’, function(){
window.carousel_full_resize();
});

if (location.hash) {
carousel.slideTo(parseInt(location.hash.replace(“#”,””))-1);
carouselRefresh(carousel);
}
$(“ul.galleryNav li”).click(function(e) {
e.stopPropagation(); e.preventDefault();
var idx = $(“.galleryNav li”).index(this);
$(“.galleryNav li.active”).removeClass(“active”);
$(this).addClass(“active”);
carousel.slideTo(idx+1);
carousel.stopAutoplay();
$(“#swiper-auto”).removeClass(“on”).addClass(“off”);
});

}

ICMS.libs.push({
‘url’: ‘/s/js/swiper.min.js’,
‘onPageReady’: window.IGNInitGallery
});


Source link


Notice an issue?

Arabian Post strives to deliver the most accurate and reliable information to its readers. If you believe you have identified an error or inconsistency in this article, please don't hesitate to contact our editorial team at editor[at]thearabianpost[dot]com. We are committed to promptly addressing any concerns and ensuring the highest level of journalistic integrity.


ADVERTISEMENT