Scroll Reveal JS (reference)
function scrollFunction() { if (document.body.scrollTop > 160 || document.documentElement.scrollTop > 160) { document.getElementById(“profile-bubble”).style.display = “inline-block”; } else { document.getElementById(“profile-bubble”).style.display = “none”; } } window.onscroll = function() {scrollFunction()};Continue reading