Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a horizontal scrolling PDF document in HTML/JavaScript?

I have a multi page PDF document. When I embed this in the browser it defaults to a vertical scroll. However I want to have a horizontal scroll to each page. Is there some way to do this either through configuration custom code or plugin?

like image 807
Rolando Avatar asked Oct 11 '16 14:10

Rolando


1 Answers

As mentioned in an answer to a similar question, you can do that by using PDF.js

Their demo displays one page at a time from a source PDF, so it would be relatively straightforward to set up a horizontal scroll from there.

like image 85
BryanH Avatar answered Sep 28 '22 17:09

BryanH