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:
can tell me if there's technical reasons shouldn't replace browser scrollbar "scroll buttons"?
can done javascript or there (preferably angularjs) plugins can imitate behaviour?
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
Post a Comment