BorntoRide
New Member
I have a long single page layout. The main container div with all the content is designed to start close to the bottom of the page (white box, peeking out from the bottom just enough to see the logo, before the user has to scroll to see more).Problem is different screen sizes and different size browsers, the main container div starts in different heights from the top, showing more or less than intended when the user first arrives.My thought is that I will need to use js to calculate the window.height, subtract the height of the amount of the container I want to initially show, and then wrap all that in an event handler that tracks the change of browser size.I'm a noob with Jquery however, and can't figure it out. Any examples, or tutorials available that will lead the way?