home Latest News Weak demand dip pulses – BusinessLine

Weak demand dip pulses – BusinessLine

This post was originally published on this site

‘,
autoTrigger: true,
debug: true,
padding: 3000,
autoTriggerUntil: 10, nextSelector: ‘a.jscroll-next’,
contentSelector:’.jscroll-inner .outerline’,
callback: function(b) {
$.event.trigger(“pageContentReady”, $(“.jscroll-added .outerline:last”));
$(document).trigger(“articleSocialShareReady”, $(“.jscroll-added .outerline:last”));
$.event.trigger(“infiniteScrollLinkContentReady”, $(“.jscroll-added .outerline:last”));
$.event.trigger(“articleTopicEmptyFinding”, $(“.jscroll-added .outerline:last”));
$.event.trigger(“articleCmdButnToggle”, $(“.jscroll-added .outerline:last”));
$.event.trigger(“vukkleCommandContentReady”, $(“.jscroll-added .outerline:last”));
WFLazyLoader.loadFragment();
updateStickyAndHistory(true);
if (window.newVuukleWidgets !== undefined) {
var c = $(“.jscroll-inner .jscroll-added”).last().find(“[data-surl]”).data(“surl”);
var a = “”;
if (c != null) {
a = c.substr(appURL().length);
a = a.substr(0, a.lastIndexOf(“/”)).split(“/”).toString()
}
window.newVuukleWidgets({
elementsIndex: $(“.jscroll-inner .jscroll-added”).last().find(“[data-artid]”).data(“artid”),
articleId: $(“.jscroll-inner .jscroll-added”).last().find(“[data-artid]”).data(“artid”),
title: encodeURI($(“.jscroll-inner .jscroll-added”).last().find(“h1.title”).text()),
tags: a,
ads: {
enabled: true,
refresh: true,
},
commentingClosed: $(“.jscroll-inner .jscroll-added”).last().find(“[data-comments-open]”).data(“comments-open”),
url: $(“.jscroll-inner .jscroll-added”).last().find(“[data-surl]”).data(“surl”)
})
}
$(window).scroll(function() {
if ($(window).scrollTop() .active”).offset().top – $(window).height() / 2 && $(window).scrollTop() > $(“.jscroll-inner .outerline”).offset().top) {
$(“.jscroll-inner>.active”).removeClass(“active”).prev().addClass(“active”);
updateStickyAndHistory(true)
} else {
if ($(window).scrollTop() > $(“.jscroll-inner>.active”).offset().top + $(“.jscroll-inner>.active”).height() – $(window).height() / 2 – 1 && $(“.jscroll-inner>.active”).next().length > 0) {
$(“.jscroll-inner>.active”).removeClass(“active”).next().addClass(“active”);
updateStickyAndHistory($(“.jscroll-inner>.active”).data(“spush”));
if (!$(“.jscroll-inner>.active”).data(“spush”)) {
$(“.jscroll-inner>.active”).data(“spush”, true);
if (location.hostname.indexOf(“.com”) > 0) {
ga(“set”, “campaignName”, “infinitescroll”);
ga(“set”, “campaignSource”, “infinite_scroll”);
ga(“set”, “campaignMedium”, “article”);
ga(“set”, {
page: location.pathname,
title: document.title,
location: location.href
});
ga(“send”, “pageview”);
comscorePageview();
logEAE($(“.jscroll-inner>.active”).find(“[data-artid]”).data(“artid”), “read”)
}
}
}
}
});
try {
if (window.advBidxc.isLoaded) {
window.advBidxc.next()
}
} catch (d) {}
}
});
}
});
function updateStickyAndHistory(a) {
var c = $(“.jscroll-inner>.active”).find(“[data-surl]”).data(“surl”);
var b = $(“.jscroll-inner>.active”).find(“h1.tp-title-inf”).text();
if (!a) {
History.pushState({
state: $(“.outerline”).length,
rand: Math.random()
}, b + ” – The Hindu BusinessLine”, c)
} else {
History.replaceState({
state: $(“.outerline”).length,
rand: Math.random()
}, b + ” – – The Hindu BusinessLine”, c)
}
};