العلامات التجارية
"; document.body.appendChild(div); window.addEventListener("scroll", (event) => { let scroll = window.scrollY; document.getElementById('scroll-to-top').style = (window.scrollY > 250 ? "display: block;" : "display: none;"); }); } } document.addEventListener("DOMContentLoaded", smb.init)