Election Results 2023 Live
चुनाव 2023 नतीजें
function resetBudgetTicker(){ $('#election-breaking-news').flipbox({ vertical: true, autoplay: true, autoplayReverse: false, autoplayWaitDuration: 5000, autoplayPauseOnHover: true }); }
window.addEventListener('DOMContentLoaded', (event) => { resetBudgetTicker(); });
//JS PART CODE for LIVE var budgetBreakingFile = "PRE_BREAKING_NEWS_FEEDS_URLhome/index";
// var trigger_web_budget=setInterval(function(){ // // console.log(budgetBreakingFile); // get_budget_live(budgetBreakingFile) // }, 45000);
function get_budget_live(budgetBreakingFile){ fetch(budgetBreakingFile) .then((response) => response.json()) .then((budgetBreaking) => { var sliderLiveMidContent = ''; //Code Start if(budgetBreaking && budgetBreaking['breaking_news'].length > 0){ budgetBreaking['breaking_news'].forEach(element => { if(element.title.length > 0){ if(element.link){ sliderLiveMidContent+= ''+ element.title +''; }else{ sliderLiveMidContent+= '
'; } } }); $('#election-breaking-news').flipbox('destroy'); document.querySelector("#election-breaking-news").innerHTML = sliderLiveMidContent; resetBudgetTicker(); } }) .catch((error) => { console.error('Error:', error); }); }
चुनाव न्यूज़
वीआईपी कैंडिडेट्स 2023