How can I open a PDF from skin editor ?

Q&A about the latest versions
Post Reply
User avatar
dePassage66
Posts: 86
Joined: Mon Mar 20, 2023 11:19 am

Hi to all,

After a quick search without result (the engine doesn't like words with only 3 letters like "pdf"!), I have to ask you this.

I made a button in the skin editor labeled PDF :wink:
Its hard job is to open a pdf file when the user click on it.
It belongs to the skin editor because I want this button to be accessible during all the panorama.

BUT, when I go to the Actions tab, select the buttonClick event, I don't see where I can load and display a PDF file.

Any idea would be much appreciated ;-)

Regards,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
User avatar
dePassage66
Posts: 86
Joined: Mon Mar 20, 2023 11:19 am

Hi to all,

I post this just for beginners like me...

First thanks to Tony for his tutorial here:

https://tonyredhead.com/pano2vr/hotspot ... pdate-2021

It helped me a lot to find out how to resolve my problem which was :

How to open a PDF file from the skin editor and without an hotspot to have this button in a menu during all the presentation ?

So the button PDF opens the container CT_PDF_Externe
The two fields inside are responsive.
The second one has an iframe as shown in the screen capture.
I used the assets folder in which the folder elements_Internes keep the files I need.

Voilà, voilà, it works fine now but it took me time :roll:
Regards,
Attachments
Capture d'écran 2023-10-20 122000.gif
Capture d'écran 2023-10-20 122000.gif (46.48 KiB) Viewed 1559 times
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
Post Reply