Closed isarmstrong closed 9 years ago
On 07/22/2014 12:44 AM, Ian Armstrong wrote:
Instead of using iFrames to view PDF content, I'd love to use a scrollable DIV. As far as I can tell, the scripts you use would support this but it wold take a lot of modification. Is this something you've played around with? Or am I asking for a unicorn for Christmas again?
It is possible to use a scrollable div with WebODF and also with PDF.js. In Viewerjs, we chose to use iframe to make the common usecase straightforward for users. So using
instead of is not supported in ViewerJS. If you want a , you probably have an elaborate scenario in mind where you access the document DOM. That is not something we support. ViewerJS has a simple API for paginated documents. That is all we expose.Best regards, Jos
Given this request for a unicorn sadly had to be rejected given the focus/mission of this project, closing it also now.
Instead of using iFrames to view PDF content, I'd love to use a scrollable DIV. As far as I can tell, the scripts you use would support this but it wold take a lot of modification. Is this something you've played around with? Or am I asking for a unicorn for Christmas again?