This is the website I am referring to. It will auto adjust the the size of the scrolled items to fit the available space in your browser’s viewport.
http://teacakedesign.com/ This is the website I am referring to. It will auto adjust the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know if it’s the best solution but this is how I would start:
set the height of the container to the number of elements * 100 % (example: 5 elements -> 500%). Each inner element is 100 / n elements tall.
In the js file I would check the height of the window when the user scrolls and then animate the scrollbar up or down “n” pixels.