Closed (fixed)
Project:
Shadowbox
Version:
6.x-2.1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2009 at 09:38 UTC
Updated:
8 Nov 2012 at 09:10 UTC
Hi!
I'm having trouble getting PDF files viewed in a Shadowbox iFrame. I've checked the pdf checkbox in admin/settings/shadowbox, but no luck.
I've tested in the newest versions of Firefox and Safari.
Comments
Comment #1
DrupalNovice commentedComment #2
psynaptic commentedPDF support depends on a browser plugin being available. It's not really recommended as I think only Safari comes with one built-in.
Comment #3
psynaptic commentedClosing to clear the queue. Feel free to reopen if you're still working on this.
Comment #4
pyrello commentedOkay, I am having a little bit of trouble figuring something out. I can have the shadowbox open a PDF without issue. When I go to view source I see that instead of being just an iframe, it is actually an iframe with an embed in it. I can't, for the life of me, figure out where the embed gets created from. The reason it is important is because I would like to restrict the toolbars that are shown to the user and make the PDF display at 100% width, which I believe can be achieved by passing in a query string to the embedded PDF src.
Any help would be appreciated.
Comment #5
psynaptic commentedPDF support in browsers uses a browser plugin. I think the only thing you can do is send a width/height to Shadowbox via the JSON parameters.
Comment #6
Roze-1 commentedPlease some one give a solution for my query !
How to open PDF using Shadowbox , should i have to use iframe or is there any other way to open pdf from shadowbox ?
It would be helpful if someone enlighten me with this.
Comment #7
alexx90 commentedI'm too looking for a solution for this open pdf on shadowbox