technopeasant
technopeasant

Reputation: 7939

Hide body scroll bars from user while still allowing the page to move with jQuery scrollTo

Sounds like a UX no-no.. but go with it.

I'm using jQuery scrollTo to move the page around to absolutely positioned div sections. I'd like to remove the scrollbars so that the user can't move from section to section without using the navigation (which is always present).

Possible? overflow:hidden; was my first thought, but it doesn't even work theoretically.

Thanks all!

Upvotes: 0

Views: 840

Answers (1)

technopeasant
technopeasant

Reputation: 7939

Got it.

html{overflow:hidden;}

'cause they're not in the body!

Upvotes: 1

Related Questions