var initialPicLoadCount = '2'; var gallery_images = JSON.parse([{"ID":"725372","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"breast-cancer-risk-1","post_title_clean":"Breast cancer risk 1","post_name":"breast-cancer-risk-1-725372","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/breast-cancer-risk-1-725372","post_excerpt":"Breast cancer is one of the most common cancers diagnosed in women. Thanks to the advancement of screening and treatment methods, breast cancer survival rates are increasing. Breast cancer develops in breast cells. Typically, it develops in either the lobules or the ducts of the breast. Lobules produce milk, and ducts bring the milk from the glands to the nipple. Known risk factors for breast cancer include age, family history, genetics, smoking, a sedentary lifestyle, obesity, and heavy drinking. Studies also suggest that dietary factors could be responsible for 30u201340% of all cancers. Studies say the following foods may help prevent the development or progression of breast cancer.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/breast-cancer-risk-1.jpg","post_category":"Photo Gallery"},{"ID":"725376","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"vegan-foods","post_title_clean":"Vegan foods","post_name":"vegan-foods-725376","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/vegan-foods-725376","post_excerpt":"Eat plenty of Fruits and vegetables: Fruits and vegetables contain antioxidant and anti-estrogen properties. Beta carotene, which occurs naturally in vegetables such as carrots, has been linked with a lower risk of breast cancer.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/vegan-foods-1.jpg","post_category":"Photo Gallery"},{"ID":"725373","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"Legumes","post_title_clean":"Legumes","post_name":"legumes-725373","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/legumes-725373","post_excerpt":"Include Lean protein. Protein helps maintain lean body mass/muscle. Protein is found in meat, poultry, fish, seafood, eggs, beans, lentils, nuts, seeds, soy and dairy products.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/Legumes.jpg","post_category":"Photo Gallery"},{"ID":"725377","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"whole-grains","post_title_clean":"Whole grains","post_name":"whole-grains-725377","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/whole-grains-725377","post_excerpt":"Add Whole grains in your diet: Researchers have revealed that high fiber intake may alter hormonal actions of breast cancer and other hormone-dependent cancers.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/whole-grains.jpg","post_category":"Photo Gallery"},{"ID":"725374","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"red-meat-1","post_title_clean":"Red meat 1","post_name":"red-meat-1-725374","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/red-meat-1-725374","post_excerpt":"Avoid Red meat: Some studies have found a link between red meat and an increased risk of breast cancer. Cooking the meat at high temperatures can trigger the release of toxins.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/red-meat-1.jpg","post_category":"Photo Gallery"},{"ID":"725375","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"Red-wine","post_title_clean":"Red wine","post_name":"red-wine-725375","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/red-wine-725375","post_excerpt":"Limit alcohol intake: Excessive alcohol consumption is a known risk factor for breast cancer.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/Red-wine-1.jpg","post_category":"Photo Gallery"}]); var gallery_info = {"gallery_info":{"id":"THS_Photo_725371","title":"World Cancer Day on February 4: Foods to eat and avoid when you have breast cancer","url":"https://www.thehealthsite.com/photo-gallery/world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/","date":"2020-02-03 19:10:15","strdate":"2020-02-03T13:40:15Z","moddate":"2020-02-03 19:10:15","author":"Editorial Team","authorurl":"https://www.thehealthsite.com/author/editorial-team","articletype":"Photo","categorybadge":"Photo Gallery","category":["Photo Gallery"],"categoryslug":["photo-gallery"],"tag":["Breast cancer care","Breast cancer diet","World Cancer Day"],"tagslug":["breast-cancer-care","breast-cancer-diet","world-cancer-day"],"enclosure":"https://st1.thehealthsite.com/wp-content/uploads/2020/01/breast-cancer-.jpg##image/jpg"},"category_galleries":""}; var serverName = "www.thehealthsite.com"; var centerAdid = ''; if(window.innerWidth > 767) var centerAdContent = ' '; else var centerAdContent = ` `; $(document).ready(function(){ $('meta[property="og:site_name"]').attr('content', 'TheHealthSite'); 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){ //alert("Need to stop"); //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 = $("#health-gallery .checkClass").last(); if(divObj.length > 0){ var divTopHeight = Math.round(divObj.offset().top); //+parseInt(divObj.height()) } else { divObj = $("#health-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; $("#health-gallery-"+photoGalleryCurrentId+" .main_wrap .vert_slide_wrap").removeAttr('style'); $("#health-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; $("#health-gallery-"+photoGalleryCurrentId+" .main_wrap").append(gallery_info.category_galleries); var fbcommentscode = '<br><div class="discus" style="background:#fff;"><button id="commentbtn-'+photoGalleryCurrentId+'" class="button-e c-button "><i class="fa fa-comment" aria-hidden="true"></i> <span> Comments - Join the Discussion</span></button><div class="show-comment cmntbox-'+photoGalleryCurrentId+'" style="display: none;">'+ '<div class="fb-comments" data-href="https://www.thehealthsite.com/photo-gallery/world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/" data-width="100%" data-num-posts="3"></div>'+ '</div></div><script type="text/javascript"> $(document).ready(function(){ $("#commentbtn-'+photoGalleryCurrentId+'").on("click",function(){ (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_US/all.js#xfbml=1&appId=178196885542208"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "facebook-jssdk")); $(".cmntbox-'+photoGalleryCurrentId+'").toggle(); }); }); </scr'+'ipt>'; var taboola = '<script type="text/javascript"> window._taboola = window._taboola || []; _taboola.push({photo:"auto"}); !function (e, f, u, i) { if (!document.getElementById(i)){ e.async = 1; e.src = u; e.id = i; f.parentNode.insertBefore(e, f); } }(document.createElement("script"), document.getElementsByTagName("script")[0], "//cdn.taboola.com/libtrc/zeemedia-thehealtsite/loader.js", "tb_loader_script"); if(window.performance && typeof window.performance.mark == "function") {window.performance.mark("tbl_ic");} </scr'+'ipt> <div id="taboola-below-gallery-thumbnails-'+photoGalleryCurrentId+'" style="background:#fff;"></div> <script type="text/javascript"> window._taboola = window._taboola || []; _taboola.push({ mode: "thumbnails-a", container: "taboola-below-gallery-thumbnails-'+photoGalleryCurrentId+'", placement: "Below Gallery Thumbnails", target_type: "mix" }); </scr'+'ipt> <script type="text/javascript"> window._taboola = window._taboola || []; _taboola.push({flush: true}); </sc'+'ript>'; window._taboola = window._taboola || []; _taboola.push({flush: true}); $("#health-gallery-"+photoGalleryCurrentId+" .main_wrap").append(fbcommentscode); $("#health-gallery-"+photoGalleryCurrentId+" .main_wrap").append(taboola); FB.XFBML.parse(); //console.log("isAjax Flag : " + isAjax ); if( isAjax == true ) { isAjax = false; //console.log("Making Next Galery ready"); //$('#galLoader').show(); $.ajax({ url: '/wp-content/themes/health2014/single-photo-gallery-infinite-scroll-ajax.php', method: 'GET', data : { 'galid' : currentrequesturl }, success: function(result){ console.log("New Gallery URL:" + result.gallery_info.url ); currentrequesturl = result.gallery_info.url; gallery_info = result; gallery_images = result.gallery_images; photoGalleryCurrentId++; addGallery(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 ); //$('#galLoader').hide(); galleryImageAppend(gallery_images, photoGalleryCurrentSlidId, photoGalleryCurrentId); $("#health-gallery-"+photoGalleryCurrentId+" .vert_slide_wrap").each(function(){ if(!$(this).hasClass('checkClass')){ $(this).addClass('checkClass'); } }); photoGalleryCurrentSlidId++; }, complete:function(result){ //$('#galLoader').hide(); } }); } } if( gallery_images.length > photoGalleryCurrentSlidId ) { //galleryImageAppend(gallery_images, photoGalleryCurrentSlidId, photoGalleryCurrentId); photoGalleryCurrentSlidId++; galleryIsScrolled = true; } } }); }); [ad_2]" /> var initialPicLoadCount = '2'; var gallery_images = JSON.parse([{"ID":"725372","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"breast-cancer-risk-1","post_title_clean":"Breast cancer risk 1","post_name":"breast-cancer-risk-1-725372","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/breast-cancer-risk-1-725372","post_excerpt":"Breast cancer is one of the most common cancers diagnosed in women. Thanks to the advancement of screening and treatment methods, breast cancer survival rates are increasing. Breast cancer develops in breast cells. Typically, it develops in either the lobules or the ducts of the breast. Lobules produce milk, and ducts bring the milk from the glands to the nipple. Known risk factors for breast cancer include age, family history, genetics, smoking, a sedentary lifestyle, obesity, and heavy drinking. Studies also suggest that dietary factors could be responsible for 30u201340% of all cancers. Studies say the following foods may help prevent the development or progression of breast cancer.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/breast-cancer-risk-1.jpg","post_category":"Photo Gallery"},{"ID":"725376","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"vegan-foods","post_title_clean":"Vegan foods","post_name":"vegan-foods-725376","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/vegan-foods-725376","post_excerpt":"Eat plenty of Fruits and vegetables: Fruits and vegetables contain antioxidant and anti-estrogen properties. Beta carotene, which occurs naturally in vegetables such as carrots, has been linked with a lower risk of breast cancer.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/vegan-foods-1.jpg","post_category":"Photo Gallery"},{"ID":"725373","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"Legumes","post_title_clean":"Legumes","post_name":"legumes-725373","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/legumes-725373","post_excerpt":"Include Lean protein. Protein helps maintain lean body mass/muscle. Protein is found in meat, poultry, fish, seafood, eggs, beans, lentils, nuts, seeds, soy and dairy products.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/Legumes.jpg","post_category":"Photo Gallery"},{"ID":"725377","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"whole-grains","post_title_clean":"Whole grains","post_name":"whole-grains-725377","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/whole-grains-725377","post_excerpt":"Add Whole grains in your diet: Researchers have revealed that high fiber intake may alter hormonal actions of breast cancer and other hormone-dependent cancers.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/whole-grains.jpg","post_category":"Photo Gallery"},{"ID":"725374","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"red-meat-1","post_title_clean":"Red meat 1","post_name":"red-meat-1-725374","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/red-meat-1-725374","post_excerpt":"Avoid Red meat: Some studies have found a link between red meat and an increased risk of breast cancer. Cooking the meat at high temperatures can trigger the release of toxins.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/red-meat-1.jpg","post_category":"Photo Gallery"},{"ID":"725375","post_author":" Editorial Team","post_date":"2020-02-03 19:10:15","post_modified":"2020-02-03 19:10:15","post_content":"","post_title":"Red-wine","post_title_clean":"Red wine","post_name":"red-wine-725375","post_name_ext":"world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/red-wine-725375","post_excerpt":"Limit alcohol intake: Excessive alcohol consumption is a known risk factor for breast cancer.","guid":"https://www.thehealthsite.com/wp-content/uploads/2020/02/Red-wine-1.jpg","post_category":"Photo Gallery"}]); var gallery_info = {"gallery_info":{"id":"THS_Photo_725371","title":"World Cancer Day on February 4: Foods to eat and avoid when you have breast cancer","url":"https://www.thehealthsite.com/photo-gallery/world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/","date":"2020-02-03 19:10:15","strdate":"2020-02-03T13:40:15Z","moddate":"2020-02-03 19:10:15","author":"Editorial Team","authorurl":"https://www.thehealthsite.com/author/editorial-team","articletype":"Photo","categorybadge":"Photo Gallery","category":["Photo Gallery"],"categoryslug":["photo-gallery"],"tag":["Breast cancer care","Breast cancer diet","World Cancer Day"],"tagslug":["breast-cancer-care","breast-cancer-diet","world-cancer-day"],"enclosure":"https://st1.thehealthsite.com/wp-content/uploads/2020/01/breast-cancer-.jpg##image/jpg"},"category_galleries":""}; var serverName = "www.thehealthsite.com"; var centerAdid = ''; if(window.innerWidth > 767) var centerAdContent = ' '; else var centerAdContent = ` `; $(document).ready(function(){ $('meta[property="og:site_name"]').attr('content', 'TheHealthSite'); 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){ //alert("Need to stop"); //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 = $("#health-gallery .checkClass").last(); if(divObj.length > 0){ var divTopHeight = Math.round(divObj.offset().top); //+parseInt(divObj.height()) } else { divObj = $("#health-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; $("#health-gallery-"+photoGalleryCurrentId+" .main_wrap .vert_slide_wrap").removeAttr('style'); $("#health-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; $("#health-gallery-"+photoGalleryCurrentId+" .main_wrap").append(gallery_info.category_galleries); var fbcommentscode = '<br><div class="discus" style="background:#fff;"><button id="commentbtn-'+photoGalleryCurrentId+'" class="button-e c-button "><i class="fa fa-comment" aria-hidden="true"></i> <span> Comments - Join the Discussion</span></button><div class="show-comment cmntbox-'+photoGalleryCurrentId+'" style="display: none;">'+ '<div class="fb-comments" data-href="https://www.thehealthsite.com/photo-gallery/world-cancer-day-on-february-4-foods-to-eat-and-avoid-when-you-have-breast-cancer-725371/" data-width="100%" data-num-posts="3"></div>'+ '</div></div><script type="text/javascript"> $(document).ready(function(){ $("#commentbtn-'+photoGalleryCurrentId+'").on("click",function(){ (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_US/all.js#xfbml=1&appId=178196885542208"; fjs.parentNode.insertBefore(js, fjs); }(document, "script", "facebook-jssdk")); $(".cmntbox-'+photoGalleryCurrentId+'").toggle(); }); }); </scr'+'ipt>'; var taboola = '<script type="text/javascript"> window._taboola = window._taboola || []; _taboola.push({photo:"auto"}); !function (e, f, u, i) { if (!document.getElementById(i)){ e.async = 1; e.src = u; e.id = i; f.parentNode.insertBefore(e, f); } }(document.createElement("script"), document.getElementsByTagName("script")[0], "//cdn.taboola.com/libtrc/zeemedia-thehealtsite/loader.js", "tb_loader_script"); if(window.performance && typeof window.performance.mark == "function") {window.performance.mark("tbl_ic");} </scr'+'ipt> <div id="taboola-below-gallery-thumbnails-'+photoGalleryCurrentId+'" style="background:#fff;"></div> <script type="text/javascript"> window._taboola = window._taboola || []; _taboola.push({ mode: "thumbnails-a", container: "taboola-below-gallery-thumbnails-'+photoGalleryCurrentId+'", placement: "Below Gallery Thumbnails", target_type: "mix" }); </scr'+'ipt> <script type="text/javascript"> window._taboola = window._taboola || []; _taboola.push({flush: true}); </sc'+'ript>'; window._taboola = window._taboola || []; _taboola.push({flush: true}); $("#health-gallery-"+photoGalleryCurrentId+" .main_wrap").append(fbcommentscode); $("#health-gallery-"+photoGalleryCurrentId+" .main_wrap").append(taboola); FB.XFBML.parse(); //console.log("isAjax Flag : " + isAjax ); if( isAjax == true ) { isAjax = false; //console.log("Making Next Galery ready"); //$('#galLoader').show(); $.ajax({ url: '/wp-content/themes/health2014/single-photo-gallery-infinite-scroll-ajax.php', method: 'GET', data : { 'galid' : currentrequesturl }, success: function(result){ console.log("New Gallery URL:" + result.gallery_info.url ); currentrequesturl = result.gallery_info.url; gallery_info = result; gallery_images = result.gallery_images; photoGalleryCurrentId++; addGallery(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 ); //$('#galLoader').hide(); galleryImageAppend(gallery_images, photoGalleryCurrentSlidId, photoGalleryCurrentId); $("#health-gallery-"+photoGalleryCurrentId+" .vert_slide_wrap").each(function(){ if(!$(this).hasClass('checkClass')){ $(this).addClass('checkClass'); } }); photoGalleryCurrentSlidId++; }, complete:function(result){ //$('#galLoader').hide(); } }); } } if( gallery_images.length > photoGalleryCurrentSlidId ) { //galleryImageAppend(gallery_images, photoGalleryCurrentSlidId, photoGalleryCurrentId); photoGalleryCurrentSlidId++; galleryIsScrolled = true; } } }); }); [ad_2]" />

Get real time update about this post category directly on your device, subscribe now.

Page 1 of 32 1 2 32

POPULAR

YOU MAY ALSO LIKE

Loading...