Implementing PDF file into 360° surround image

Q&A about the latest versions
Post Reply
Posts: 391
Joined: Fri Oct 17, 2008 4:06 pm

Tue Oct 15, 2019 8:02 am

I have prepared a simple pano exibition tour where I implemented simple static pdf file display which show after picking the "?" button at the bottom or "i" at the left upper corner of each panel.
Here it is the tour:

It display ok with all browsers except the newes Microsoft Edge where the pdf file is visible all the time and can not be hidden.

I used: <embed src="Judje_katalog.pdf#toolbar=0&navpanes=0&scrollbar=0" type="application/pdf" width="100%" height="600px" /> for embeding it.

Is there a tip how to do that the way that it works fine also with the Edge?
User avatar
Posts: 10339
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK

Tue Oct 15, 2019 10:53 am

What you need to do is "unload" the PDF when hidden.
As an example:
• remove the iframe from the text box
• add an extra action to the PDF open button, mouse click, set value, "the iframe", text box, as well as make it visible
• the close button add the extra action, mouse click, set value, "leave blank", text box

When the text box is hidden there is also no iframe so nothin can be displayed.
On open the set value action adds the iframe to the text box and displays the PDF.
On close, the iframe is removed as well as hiding the text box.

Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
Posts: 391
Joined: Fri Oct 17, 2008 4:06 pm

Tue Oct 15, 2019 3:36 pm

Martin thank you, regarding your instruction it works fine now.
Post Reply