Implementing PDF file into 360° surround image

Q&A about the latest versions
Post Reply
Bostjan
Posts: 421
Joined: Fri Oct 17, 2008 4:06 pm
Location: Slovenia, EU
Contact:

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: http://www.burger.si/test/Comtrade/Judje/vrp.html

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
Hopki
Gnome
Posts: 13022
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
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.

Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Bostjan
Posts: 421
Joined: Fri Oct 17, 2008 4:06 pm
Location: Slovenia, EU
Contact:

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