sass/scripts/navigatorComponents.js
/**
 * go show the bubbles and navigation components 
 */
go show the bubbles and navigation components
go show the bubbles and navigation components
function goShowNavComponents() { 
  if (window.scrollY > 300) { 
    document.getElementById("return-to-top").style.display = "block";
  } else {
    document.getElementById("return-to-top").style.display = "none";
  }   
  if (window.scrollY > 125) {
    document.getElementById("scrollspy-id").style.display = "block";
  } else {
    document.getElementById("scrollspy-id").style.display = "none";
  }
}
function goShowNavComponents ( ) { if ( window . scrollY > 300 ) { document . getElementById ( "return-to-top" ) . style . display = "block" ; } else { document . getElementById ( "return-to-top" ) . style . display = "none" ; } if ( window . scrollY > 125 ) { document . getElementById ( "scrollspy-id" ) . style . display = "block" ; } else { document . getElementById ( "scrollspy-id" ) . style . display = "none" ; } }
go show the bubbles and navigation components
go show the bubbles and navigation components
//console.log("listening to scroll event....."); /**
   * show the height of the scroll for development and debug purpose
   */ //document.querySelector('.scrollheight').innerText = window.scrollY;      /**
   * show the fixed scroll to return to top 
   */ /**
   * show or hide the scrollspy 
   */