Easy FancyBox
[resolved] PDFs can't scroll on tablet (3 posts)

  1. swami12
    Posted 1 year ago #

    Any ideas how I can get a multipage PDF to allow scrolling through pages when viewed on an iPad?


    (click the "See the New Catalog Here" link.



  2. RavanH
    Plugin Author

    Posted 1 year ago #

    Display and function of PDFs in a browser depends on a browser plugin. And if there is no browser plugin for PDF files installed, like on my Adnroid device, the user will not be able to see the content at all... I'd advise using a more cross browser/platform compatible way of embedding PDF files like the Google Viewer.

    There is a method of integrating Google Viewer and (Easy) FancyBox described on http://demo.status301.net/easy-fancybox-sandbox/pdf-embeds/ (alt method 2) but basically you do this:

    1. Go to Settings > Media and completely disable the PDF option.

    2. Go to https://docs.google.com/gview and compose your document URL, then append it with &embedded=true (important!) and use that to create a link in your post.

    3. Then in the HTML view editor tab add class="fancybox-iframe" to that link code so that it will be recognised by FancyBox.

  3. swami12
    Posted 1 year ago #

    Thank you for your reply. I had tried using the Google Viewer, but ran into a couple of problems. It would not load PDFs at all on certain sites, and it also would not allow active links within the PDF itself to work.

    I basically gave up on the FancyBox solution and created a separate link for mobile and tablet users. Not an elegant solution but works ok.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.