Portfolio Grid 4

This grid shows the items pages in a popup

Entrepreneurs Sharpen Their Pitching Power

Carpentry Sector Embraces Digital Innovation Amid Growth Challenges

USSIA

Strengthening Capacity for Gender-Responsive Programming

Brewing Innovation: Strategic Dialogue Sparks New Opportunities for Agribusiness Growth

BACK TO SCHOOL WITH USSIA ONLINE SHOP 🎒📚

USSIA

Building a Smarter Business Climate for Local Enterprise Growth

Enhancing Capacity for Effective Loan Recovery

USSIA Supports Members in Digital Marketing with TikTok Training

Welcoming the Tanzanian Delegation

USSIA Fort Portal Street Market

USSIA and Uganda Microfinance Regulatory Authority: Exploring Partnership Opportunities

Training on Filing Returns

document.addEventListener('DOMContentLoaded', function () { // 1. Vision / Mission Tabs Switcher const tabButtons = document.querySelectorAll('[data-tab]'); const tabPanels = document.querySelectorAll('[data-panel]'); tabButtons.forEach(button => { button.addEventListener('click', () => { const target = button.getAttribute('data-tab'); tabButtons.forEach(btn => { btn.classList.remove('is-active'); btn.setAttribute('aria-selected', 'false'); }); tabPanels.forEach(panel => { panel.classList.remove('is-active'); panel.hidden = true; }); button.classList.add('is-active'); button.setAttribute('aria-selected', 'true'); const activePanel = document.querySelector(`[data-panel="${target}"]`); if (activePanel) { activePanel.classList.add('is-active'); activePanel.hidden = false; } }); }); // 2. Dynamic Animated Counter Engine const statNumbers = document.querySelectorAll('.ussia-stat-number'); let animated = false; const animateStats = () => { statNumbers.forEach(counter => { const target = +counter.getAttribute('data-target'); const count = +counter.innerText.replace('+', ''); const increment = target / 80; if (count < target) { counter.innerText = Math.ceil(count + increment) + '+'; setTimeout(animateStats, 30); } else { counter.innerText = target.toLocaleString() + '+'; } }); }; // Trigger counters on Scroll window.addEventListener('scroll', () => { const statsSection = document.getElementById('ussia-impact'); if (statsSection) { const sectionPos = statsSection.getBoundingClientRect().top; const screenPos = window.innerHeight / 1.3; if (sectionPos < screenPos && !animated) { animated = true; animateStats(); } } }); });