var sections = $("#home, #line-up-section, #tickets-section, #artists-announced-section, #getting-here-section, #store-section"); // or $("section"); $(window).scroll(function (event) { var scroll = $(window).scrollTop(); for(var i = 0; i < sections.length; i++) { var $section = $(sections[i]); if(scroll >= $section.offset().top) { // Will change URL without reloading, affecting the history history.replaceState("data", "title", location.origin + location.pathname + "#" + $section.attr('id')); } });

SUNDAY

The following is placeholder text known as “lorem ipsum,” which is scrambled Latin used by designers to mimic real copy. In sit amet felis malesuada, feugiat purus eget, varius mi. Mauris id fermentum nulla.

THE BLACK HEART

BAND

BAND

BAND

BAND

THE UNDERWORLD

BAND

BAND

BAND

BAND

KOKO

 

BAND

BAND

BAND

BAND