Scrolling content in Hype

In the following video I will show you how you can setup a responsively scaling page with scrollable content.

I am mentioning the the following post in the video:
anyScale_Hype

And you will need this code later on:

	var scrollElements = document.getElementsByClassName("scroll");
	
	for(var i = 0; i < scrollElements.length; i++){
		scrollElements[i].style.overflowX = "hidden";
		scrollElements[i].style.overflowY = "auto";
	}


I have updated it, so that it doesn’t need jQuery anymore. It is slightly longer, but works exactly the same.