Online Stall for Computer, Electronics, Travels and more in Bangladesh

April 5, 2021


Online Stall for Computer, Electronics, Travels and more in Bangladesh | Bdstall div’), pageNavContainer = doc.querySelector(‘.nav’), pageNav = doc.querySelector(‘.nav ul’), toggleHandle = doc.querySelector(‘.nav-toggle-handle’), divider = window.innerHeight / 2, scrollTimer, resizeTimer; toggleHandle.onclick = function () { var classN = pageNavContainer.className; pageNavContainer.className = (classN.indexOf(‘ active’) > 0) ? classN.replace(‘ active’, ”) : classN + ‘ active’; }; if (window.addEventListener) { window.addEventListener(‘scroll’, function () { clearTimeout(scrollTimer); scrollTimer = setTimeout(function () { [].forEach.call(slideList, function (el) { var rect = el.getBoundingClientRect(), navLink = pageNav.querySelector(‘[href=”#’ + el.id + ‘”]’); if (rect.top divider) { if (navLink.className !== ‘active’) { navLink.className = ‘active’; } } else { if (navLink.className !== ”) { navLink.className = ”; } } }); }, 100); }); window.addEventListener(‘resize’, function () { clearTimeout(resizeTimer); resizeTimer = setTimeout(function () { divider = window.innerHeight / 2; }, 100); }); pageNav.addEventListener(‘click’, function () { var classN = pageNavContainer.className; if (classN.indexOf(‘ active’) > 0) { pageNavContainer.className = classN.replace(‘ active’, ”); } }); } var mobile = ‘false’, isTestPage = false, isDemoPage = true, classIn = ‘jello’, classOut = ‘rollOut’, speed = 400, doc = document, win = window, ww = win.innerWidth || doc.documentElement.clientWidth || doc.body.clientWidth, fw = getFW(ww), initFns = {}, sliders = new Object(), edgepadding = 50, gutter = 10; function getFW (width) { var sm = 400, md = 900, lg = 1400; return width = sm && width = md && width = 0) { if (isTestPage && initFns[i]) { initFns[i](); } } } // goto if (doc.querySelector(‘#base_wrapper’)) { var goto = doc.querySelector(‘#base_wrapper .goto-controls’), gotoBtn = goto.querySelector(‘.button’), gotoInput = goto.querySelector(‘input’); gotoBtn.onclick = function (event) { var index = gotoInput.value; sliders[‘base’].goTo(index); }; } ]]>

Source