Thursday / September 20.
HomeGamingGames of Glory – Announcement Assets

Games of Glory – Announcement Assets

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






});
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