-3

I want to hide the scroll bar but the overflown data should be accessed with the help of arrows. Can any one help me? Thanks in advance.

Lars Kotthoff
  • 107,425
  • 16
  • 204
  • 204

2 Answers2

3

Just check this JsFiddle code. If thats what is your requirement, then add the below code

::-webkit-scrollbar {
    width: 0px;
}
mulla.azzi
  • 2,676
  • 4
  • 18
  • 25
  • but there are no arrows. although this is a good one. – Jai Mar 12 '14 at 09:26
  • try this fiddle http://jsfiddle.net/2aHeE/537/ – mulla.azzi Mar 12 '14 at 09:34
  • @mulla.azzi can you do the same horizontally with the help of arrows(keyboard). when we add scroll bar we can scroll horizontally with the help of left and right arrow keys on keyboard. so, now i want that functionality but that scrollbar should not be visible. – user3409832 Mar 12 '14 at 10:17
  • checkout this fiddle http://jsfiddle.net/2aHeE/538/ – mulla.azzi Mar 12 '14 at 10:26
0

This is just the very basic version of it, but it should get you going:

http://jsfiddle.net/wvY62/

$('.up').on('click', function(e) {
    e.preventDefault();
    p.css({
        marginTop: "-=20"  
    })
});
Jonas Grumann
  • 10,438
  • 2
  • 22
  • 40