Floating content as a user scrolls through the rest of the page is childβs play. No JavaScript is necessary β you can do it with just plain old CSS. Slap a position: fixed declaration on it and boom!, you have a container that is fixed in a specific location in the page β itβs floating in the page to be more colloquial.