{"size": 267, "ext": "js", "max_stars_repo_path": "public/assets/js/changcolornav.js", "max_stars_repo_name": "Pong-kst/codeigniter-bootstrap", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/assets/js/changcolornav.js", "max_issues_repo_name": "Pong-kst/codeigniter-bootstrap", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/assets/js/changcolornav.js", "max_forks_repo_name": "Pong-kst/codeigniter-bootstrap", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.7, "max_line_length": 84, "alphanum_fraction": 0.6666666667}
var myNav = document.getElementById("nav");

window.onscroll = function() {
  "use strict";
  if (document.body.scrollTop >= 280 || document.documentElement.scrollTop >= 280) {
    myNav.classList.add("scroll");
  } else {
    myNav.classList.remove("scroll");
  }
};