views:

85

answers:

4

Hello,

I want to know if it is possible to hide the scrollbar, while scrolling is still enabled with mouse/keyboard.

I tried to use CSS: overflow: hidden; The effect is, scrollbar disabled AND scrolling disabled.

A: 

Nope, that is not possible, there needs to be scrollbar to be able to scroll.

However, you can go for javascript/jquery to create manual scrolling functionality if you have/want to disable the scrollbars. For example, there exists a jquery ScrollTo plugin.

Sarfraz
A: 

Not natively, but I suppose you could implement your own scrolling mechanism by using Javscript to capture certain keystrokes and re-position the container element accordingly with CSS. It's going to be ugly, though!

Josh Stodola
I think Peter has pointed out something that works like your description, Thanx!
atjepatatje
+2  A: 

There is a jQuery plugin called Scrollable that does what you want.

Peter Forss
Great, this is exactly what i mean! Thanx
atjepatatje
No problem. Please marked as the answer.
Peter Forss
I don't have the credits for that :(
atjepatatje
@atjepatatje - You do this via the checkmark on the left.
Nick Craver
of course, her you are ;)
atjepatatje
nice one... i never liked scrollbars
David
A: 

Do you mean something like this:

http://www.jsfiddle.net/8vYaf/

jAndy