Tech News

PUBG Mobile India January 14, 2021 Latest Updates: Know about Tencent PUBG launch date


Laptops

PUBG Mobile India specially customised

PUBG Mobile India will reflect local needs. These include having a virtual simulation training ground setting rather than the usual maps, characters will start off with clothing and not in their underpants, lastly, the game will have green hit effects instead of red.

"; else var centerAdContent = `

`;

$(document).ready(function(){ $('meta[property="og:site_name"]').attr('content', 'BGR India'); addcounter = 0; currentrequesturl = gallery_info.gallery_info.url; //console.log("Gallery URI :" + gallery_info.gallery_info.url); gallery_info.category_galleries = $("#first_gallery_bottom_content").html(); $("#first_gallery_bottom_content").html("");

isAjax = true;

photoGalleryCurrentSlidId = parseInt(initialPicLoadCount); photoGalleryCurrentId = 1; galleryIsScrolled = true;

$(window).scroll(function(e){ //console.log("Scrolled step 1"); e.preventDefault(); //hideSticky(); update_prev_current_next(); //updateTitleUrl(); //console.log("Scrolled step 2"); var height = $(document).height(); var scrollTop = $(window).scrollTop(); var divObj = $("#bgr-photo-gallery .checkClass").last();

if(divObj.length > 0) var divTopHeight = Math.round(divObj.offset().top); //+parseInt(divObj.height()) else divObj = $("#bgr-photo-gallery .vert_slide_wrap").last(); var divTopHeight = Math.round(divObj.offset().top); //+parseInt(divObj.height())

if(window.innerWidth > 767) divTopHeight = divTopHeight-150; else divTopHeight = divTopHeight-530;

if((scrollTop >= divTopHeight) && galleryIsScrolled == true){

//console.log("Scrolled step 3 scrollTop : " , + scrollTop + " >= divTopHeight : " + divTopHeight + " & galleryIsScrolled : " + galleryIsScrolled );

galleryIsScrolled = false; $("#bgr-photo-gallery-"+photoGalleryCurrentId+" .main_wrap .vert_slide_wrap").removeAttr('style'); $("#bgr-photo-gallery-"+photoGalleryCurrentId+" .vert_slide_wrap").each(function() if(!$(this).hasClass('checkClass')) $(this).addClass('checkClass');

);

//console.log( "Step 1 : " + photoGalleryCurrentId + " "+ photoGalleryCurrentSlidId ); galleryImageAppend(gallery_images, photoGalleryCurrentSlidId, photoGalleryCurrentId); if((photoGalleryCurrentSlidId == parseInt(gallery_images.length)-initialPicLoadCount) && firstGalleryCheck == false) var firstGalleryCheck = true; var galleryLen = parseInt(gallery_images.length)-initialPicLoadCount; //console.log( "Step 2 : " + photoGalleryCurrentId + " "+ photoGalleryCurrentSlidId ); galleryImageAppend(gallery_images, parseInt(photoGalleryCurrentSlidId)+1, photoGalleryCurrentId); //console.log( "Step 3 : " + photoGalleryCurrentId + " "+ photoGalleryCurrentSlidId ); galleryImageAppend(gallery_images, parseInt(photoGalleryCurrentSlidId)+2, photoGalleryCurrentId); else var galleryLen = gallery_images.length;

if( photoGalleryCurrentSlidId == galleryLen && isAjax ) {

galleryURL = gallery_info.gallery_info.url;

$("#bgr-photo-gallery-"+photoGalleryCurrentId+" .article-content").append(gallery_info.category_galleries);

var fbcommentscode="

$("#bgr-photo-gallery-"+photoGalleryCurrentId+" .bgr-interest").html(gallery_info.gallery_info.bottom_galleries);

//console.log("isAjax Flag : " + isAjax ); if( isAjax == true && next_gallery_url != '' && next_gallery_url != null ) { isAjax = false; //console.log("Making Next Galery ready"); $.ajax({ url : '/wp-content/themes/bgr2017/single-photo-gallery-infinite-scroll-ajax.php', method: 'GET', data : 'galid' : next_gallery_url , success: function(result) console.log("After Ajax - New Gallery URL:" + result.gallery_info.url ); //var result_gallery_info_id = result.gallery_info.url; //result_gallery_info_id = result_gallery_info_id.substr(0, result_gallery_info_id.lastIndexOf("-")); //currentrequesturl = result_gallery_info_id;

currentrequesturl = result.gallery_info.url; if( result.next_gallery != null ) next_gallery_url = result.next_gallery.url; else next_gallery_url="";

gallery_info = result; gallery_images = result.gallery_images; photoGalleryCurrentId++; if( gallery_images != null && gallery_images.length > 0 ) addGallery(gallery_info);

/*if(window.innerWidth > 767) addGallery(gallery_info); else addGalleryMobile(gallery_info); */

photoGalleryCurrentSlidId = 0; isAjax = true; galleryIsScrolled = true; //console.log("AJAX Received Successfully now isAjax Flag : " + isAjax ); //console.log("AJAX Received Successfully now galleryIsScrolled Flag : " + galleryIsScrolled ); galleryImageAppend(gallery_images, photoGalleryCurrentSlidId, photoGalleryCurrentId); $("#bgr-photo-gallery-"+photoGalleryCurrentId+" .vert_slide_wrap").each(function() if(!$(this).hasClass('checkClass')) $(this).addClass('checkClass');

); photoGalleryCurrentSlidId++; tabScript(); else console.log("Gallery " + result.gallery_info.url + " do not have any Images." );

}); } } if( gallery_images.length > photoGalleryCurrentSlidId ) //galleryImageAppend(gallery_images, photoGalleryCurrentSlidId, photoGalleryCurrentId); photoGalleryCurrentSlidId++; galleryIsScrolled = true;

} }); });




Source link

Related Articles

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker
%d bloggers like this: