JS Full Page Scrolling?
JS Full Page Scrolling?
- Started
- Last post
- 3 Responses
- monNom2
I bet you could hack around with the css 'sticky' property to do this without JS at all.
check demo on this page for a clue
- mg331
Ha - answered my own question. I'll drop this here in case anyone else is interested.
- sted0
check viewport height on load:
if fits
do scenario 1if doesn't fits
do scenario 2
also in wp you can tie these js functions without php to specific pages by observing the body class and building functions on that...