javascript - Replacing browser scrollbar with buttons -


i googled, , can't find solutions, have see implementation of somewhere before.

so have large spread sheet - table, generated user. content extent past viewport both horizontally , vertically, scrolling needed.

however, i'm trying find "prettier" way user scroll (horizontal , vertical scrollbars don't nice). thinking of arrows following (see attached). however, looked around , can't see example of doing this.

so here questions:

  1. can tell me if there's technical reasons shouldn't replace browser scrollbar "scroll buttons"?

  2. can done javascript or there (preferably angularjs) plugins can imitate behaviour?

scroll button example

i have no idea why being downvoted. also, not ux question.

i think looking "scrolling without scrollbar". can google this. many results answer this.

one of closest answers (and popular ones) came across 1 right here on stackoverflow.

in case, involves scrolling using keyboard keys or mouse wheel.

in case, have carry out similar. instead of binding keyboard keys or mouse wheel / down event, need create buttons @ left / right side of screen , / down part of screen. bind click event button , proceed shown in answer linked above.

but note since displaying tables, complicated. have move each row / column of table depending on user clicks. should achievable using jquery or similar javascript library though.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -