Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
Force user to scroll 100%
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Swaggots" data-source="post: 360615" data-attributes="member: 37759"><p>So I have this website divided into 2 sections. Both sections are 100% width and 100% height. Scrollbar is hidden.</p><p>Section A is the first one, and is show when the page is loaded. I'd like it that whenever the user barely scrolls using their scroll wheel or trackpad, Section B is shown directly. That way, the user wouldn't be allowed to scroll through the website manually, but a little scroll would cause them to scroll 100% of the window height.</p><p></p><p>Sort of what MEGA has going on (ex: <a href="https://mega.nz/#!roUj2SIB!_jcXd3gKCHJkyP0eZxr79nTgEwJSBc7ueWl9m1Bs5Zg" target="_blank">https://mega.nz/#!roUj2SIB!_jcXd3gKCHJkyP0eZxr79nTgEwJSBc7ueWl9m1Bs5Zg</a>).</p><p>See how when you barely scroll the second section is instantly show? Couldn't really find a tutorial for this online.</p><p></p><p>Thanks a lot for the help.</p></blockquote><p></p>
[QUOTE="Swaggots, post: 360615, member: 37759"] So I have this website divided into 2 sections. Both sections are 100% width and 100% height. Scrollbar is hidden. Section A is the first one, and is show when the page is loaded. I'd like it that whenever the user barely scrolls using their scroll wheel or trackpad, Section B is shown directly. That way, the user wouldn't be allowed to scroll through the website manually, but a little scroll would cause them to scroll 100% of the window height. Sort of what MEGA has going on (ex: [URL]https://mega.nz/#!roUj2SIB!_jcXd3gKCHJkyP0eZxr79nTgEwJSBc7ueWl9m1Bs5Zg[/URL]). See how when you barely scroll the second section is instantly show? Couldn't really find a tutorial for this online. Thanks a lot for the help. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Force user to scroll 100%
Top