PageSourceSearch

https://scriptoindustries.com/js/navbar.js

js scriptoindustries.com collected 2026-09-24 14:52:08 UTC 477 bytes, 15 lines download raw bytes

1// navbar.js — toggles the fixed navbar background between transparent (at the
2// very top of the page) and solid black once the user scrolls.
3
4window.onscroll = function() {
5	navBarReveal();
6}
7
8function navBarReveal(){
9  var currentScrollPos = window.pageYOffset;
10  if (currentScrollPos == 0) {
11    document.getElementById("navBar").style.backgroundColor = "rgba(0,0,0,0.0)";
12  } else {
13    document.getElementById("navBar").style.backgroundColor = "rgba(0,0,0,1.0)";
14  }
15}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.