International

When Notre-Dame burned




International

‘,
nextArrow: ”,
fade: true,
asNavFor: ‘.article-slideshow-thumbnail-slider’,
autoplay: false
});
$(‘.article-slideshow-thumbnail-slider’).slick({
slidesToShow: 3,
slidesToScroll: 1,
infinite: true,
asNavFor: ‘.article-slideshow-slider’,
dots: false,
arrows: true,
prevArrow: ”,
nextArrow: ”,
focusOnSelect: true,
});
function photoslides(){
$(‘.photo-slider’).slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: true,
prevArrow: ”,
nextArrow: ”,
fade: true,
autoplay: false
});
}
$(‘.article-slideshow-slider’).on(‘init reInit afterChange’, function (event, slick, currentSlide, nextSlide) {
// $(slick.$list.context).find(“img.lazy[src*=’1x1_spacer.png’]”).lazyload();
//WFImager.update($(document));
var i = (currentSlide ? currentSlide : 0) + 1;
$status.text(i + ‘/’ + slick.slideCount);
slideshowUpdateState(i);
});
$(‘.photo-slider’).on(‘init reInit afterChange’, function (event, slick, currentSlide, nextSlide) {
// $(slick.$list.context).find(“img.lazy[src*=’1x1_spacer.png’]”).lazyload();
WFImager.update($(document));
var i = (currentSlide ? currentSlide : 0) + 1;
$(‘#photo-story-slider .pagingInfo’).text(i + ‘/’ + slick.slideCount);
slideshowUpdateState(i);
});
$(“.fullscreenexpand i”).on(“click”, function(e){
var currentUrl = document.location.href.split(‘/’); var currentIndex = currentUrl.length -2 ;
var SlideIndex = currentUrl[currentIndex];
$(‘header’).addClass(“sticky”);
$(‘body’).toggleClass(“main-menu-open”);
$(“#photo-story-slider”).show();
WFImager.update($(document));
if(isIE()){
photoslideobject();
}
if(photoPopup){
photoslides();
photoPopup = false;
}
$(‘.photo-slider’).slick(‘slickGoTo’, SlideIndex – 1);
});
$(‘.photo-collage-slider .close-slider’).on(‘click’, function () {
var currentUrl = document.location.href.split(‘/’); var currentIndex = currentUrl.length -2 ;
var SlideIndex = currentUrl[currentIndex];
$(“#photo-story-slider”).hide();
$(‘.article-slideshow-thumbnail-slider’).slick(‘slickGoTo’, SlideIndex – 1);
});
$(‘.photo-collage-slider .show-caption’).on(‘click’, function () {
//$(this).hide();
$(this).parents(“.photo-collage-slider”).find(“.photoPopupSlider span”).not(“span.show-caption”).toggle();
});
$(‘.article-slideshow .show-caption’).on(‘click’, function () {
//$(this).hide();
$(this).parents(“.article-slideshow-slider”).find(“.article-slideshow span”).not(“span.show-caption”).toggle();
});
$(window).on(‘popstate’, function (event) {
var currentUrl = document.location.href.split(‘/’); var currentIndex = currentUrl.length -2 ;
var SlideIndex = currentUrl[currentIndex];
if(event.state !== null ) {
$(‘.article-slideshow-thumbnail-slider’).slick(‘slickGoTo’, SlideIndex – 1);
}
});
});
function slideshowUpdateState(id){
var articleUrl = “https://www.thehindu.com/news/international/when-notre-dame-burned/article26855719.ece/photo/” + id +”/”; var articleTitle = “https://www.thehindu.com/news/international/when-notre-dame-burned/article26855719.ece – The Hindu Gallery -“+ id;
document.title = articleTitle;
history.pushState(
{
state:$(“.article-slideshow-slider”).length,
rand:Math.random()
}, articleTitle,
articleUrl
); gaOperations(articleUrl);
}
function gaOperations(url){ ga(‘set’, {page:location.pathname, title:document.title, location:document.location.href});
ga(‘send’, ‘pageview’);
comscorePageview();
}

Notre Dame cathedral is more than an exquisite structure for the French; the monument transcended its religious meaning and is a symbol of European civilization.


more-in

Source: thehindu.com

Leave a Reply

Your email address will not be published. Required fields are marked *