As PreferredSource const labels = ['As PreferredSource', 'Select Deccan Chronicle Now']; let i = 0; const el = document.getElementById('g-label'); setInterval(() => { el.style.opacity = 0; setTimeout(() => { el.innerHTML = labels[i = (i + 1) % labels.length]; el.style.opacity = 1; }, 300); }, 2500); THIRUVANANTHAPURAM: Sabarimala temple opened ahead of the Mandala pilgrimage season, which begins on November 17.