All of the members of South Korean pop band BTS are younger and so they love their nation, language and tradition. In the present day, their artwork has turn into their energy and made them so highly effective that they acquired an invite to the White Home from the President of America.
Jun 02, 2022, 02:24 AM IST
"; //settings.img_path; var img = img_path; //$(pager_selector).hide(); //alert($(next_selector).attr('href')); var x = 0; var url=""; var circle = ""; var myTimer = ""; var interval = 30; var angle = 0; var Inverval = ""; var angle_increment = 6; var _p = "preview-2469584"; var _c=""; var prevLoc = $(location).attr('href'); var prevSlide = $(location).attr('href'); var handle = $.autopager({ appendTo: content_selector, content: items_selector, runscroll: maindiv, link: next_selector, autoLoad: false, page: 0, start: function(){ $(img_location).after(img); circle = $('.center-section').find('#green-halo'); myTimer = $('.center-section').find('#myTimer'); angle = 0; Inverval = setInterval(function (){ $(circle).attr("stroke-dasharray", angle + ", 20000"); //myTimer.innerHTML = parseInt(angle/360*100) + '%'; if (angle >= 360) { angle = 1; } angle += angle_increment; }.bind(this),interval); }, load: function(){ $('div.loading-block').remove(); clearInterval(Inverval); $('.repeat-block > .row > div.main-rhs2469584 > div.rhs2469584:first').clone().appendTo('.repeat-block >.row > div.main-rhs' + x); $(".sidebar"+x).theiaStickySidebar(); $('.center-section >.repeat-block:last').before('
' + nxtHead + '
'); var $dfpAdrhs = $('.repeat-block >.row > div.main-rhs' + x).children().find('.adATF').empty().attr("id", "ad-300-" + x); var $dfpAdrhs2 = $('.repeat-block >.row > div.main-rhs' + x).children().find('.adBTF').empty().attr("id", "ad-300-2-" + x); var fb_script=document.createElement('script'); fb_script.text= "(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));"; var fmain = $(".sr"+ x); //alert(x+ "-" + url); var fdiv = '
'; //$(fb_script).appendTo(fmain); $(fdiv).appendTo(fmain); FB.XFBML.parse(); var $dfpAd = $('.center-section').children().find("#ad-"+ x); //console.log($dfpAd); //fillElementWithAd($dfpAd, '/11440465/Zeenews_English_Web/Zeenews_English_PTG_BTF_728x90', [[728, 90], [970, 90]], {}); //fillElementWithAd($dfpAdrhs, '/11440465/Zeenews_English_Web/Zeenews_English_AL_BTF_1_300x250', [[300, 250], [300, 600]], {}); //fillElementWithAd($dfpAdrhs2, '/11440465/Zeenews_English_Web/Zeenews_English_AL_BTF_1_300x250', [300, 250], {}); var isyoutube = $("#preview-" + x).attr("video-source"); var videoCode = $("#preview-" + x).attr("video-code"); //alert(isyoutube + " " + videoCode); //history.pushState('' ,'', nxtURL); function onYouTubePlay(){ if (typeof(YT) == 'undefined' || typeof(YT.Player) == 'undefined') { var tag = document.createElement('script'); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); window.onYouTubePlayerAPIReady = function() { onYouTubePlayer(); }; }else{onYouTubePlayer();} } // Replace the 'ytplayer' element with an
var title, imageUrl, description, author, shortName, identifier, timestamp, summary, newsID, nextnews; var previousScroll = 0; $(window).scroll(function() { var last = $(pager_selector).filter(':last'); var lastHeight = last.offset().top ; st = $(layout).scrollTop(); //console.log("st:" + st); var currentScroll = $(this).scrollTop(); if (currentScroll > previousScroll){ _up = false; } else { _up = true; } previousScroll = currentScroll; //console.log("_up" + _up);
var cutoff = $(window).scrollTop() + 64; //console.log(cutoff + "**"); $('div[id^="ar"]').each(function(){ //console.log($(this).attr("id") + "&&"); if($(this).offset().top + $(this).height() > cutoff){ //console.log(prevLoc + "##" + $(this).attr('data-url')); if(prevLoc != $(this).attr('data-url')){ //console.log("condition Match"); prevLoc = $(this).attr('data-url'); _p =$(this).attr("data-play"); _c = $(this).attr('data-status'); $('html head').find('title').text($(this).attr('data-title')); //console.log(prevLoc); //history.pushState('' ,'', prevLoc); loadshare(prevLoc, 'V', _c); stitle = $(this).attr('data-title'); vimg = $(this).attr('data-image'); /*console.log(stitle); pSUPERFLY.virtualPage(prevLoc,$(this).attr('data-title')); */ } return false; // stops the iteration after the first one on screen } }); if($('div[id^="jsp"]').length>0){ $('div[id^="jsp"]').each(function(){ //console.log($(this).attr("id") + "&&"); if($(this).offset().top + $(this).height() > cutoff){ //console.log(prevSlide + "##" + $(this).attr('data-url')); if(prevSlide != $(this).attr('data-url')){ //console.log("condition Match"); prevSlide = $(this).attr('data-url');
$('html head').find('title').text($(this).attr('data-title'));
//console.log(prevSlide);
//history.pushState('' ,'', prevSlide);
loadshare(prevSlide, 'G', _c);
stitle = $(this).attr('data-title');
vimg = $(this).attr('data-image');
//pSUPERFLY.virtualPage(prevLoc,$(this).attr('data-title'));
}
return false; // stops the iteration after the first one on screen
}
});
}
if(lastHeight + last.height() < $(document).scrollTop() + $(window).height()){
//console.log("**get");
url = $(next_selector).attr('href');
x=$(next_selector).attr('id');
nxtTitle = $(next_selector).attr("title");
stitle = $(next_selector).attr("title");
nxtHead = $(next_selector).attr("head");
stats = $(next_selector).attr("status");
////console.log("x:" + x + " stats:" + stats + " nxtTitle:" + nxtTitle);
//handle.autopager('load');
}
//lastoff = last.offset();
//console.log("**" + lastoff + "**");
});
var prev_content_height = $(content_selector).height();
//$(function() {
var layout = $(content_selector);
var st = 0;
///});
}
}
});
/*}
};*/
})(jQuery);
Source link