Insert external data

Q&A about the latest versions
Post Reply
MPW
Posts: 123
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

Hallo,
is there a usable possebility to insert external data like text or an iframe into the HTML5-pano.

It is possible for photos or video, but my customer likes to change a textbox from time to time without calling me to change the whole animation.
To externalise the skin and to vary the code is to complicated and the danger to ruin the whole code to big.
Thought of something like an iframe, but still the question how to embed it into the HTML5-output.

Have a nice Christmas!
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi MPW,
Thoughts are use text box and use an iframe with a PDF.
Example:

Code: Select all

<iframe src="sample.pdf" width="800px" height="600px"></iframe>
You customer can then just replace the PDF.

Make the text box 5px wider for the scroll bar

In the attached project create the output and then copy the PDF into the output folder.
Regards,
Hopki
Attachments
pdf 2.zip
(1.38 MiB) Downloaded 169 times
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/
MPW
Posts: 123
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

Thank you, I wasn´t aware of that possibility.
However I just tried it out. After opening the html the pdf is opened immediatly in the acrobat reader.
When closing the reader there is my virtual room with the textbox, but without any content.
User avatar
Hopki
Gnome
Posts: 13025
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Hummm thats odd.
Has anybody else downloaded and tried this as this is a first for me.
The PDF should open in the web page, unless you have told Acrobat to open all PDf's.
Iv uploaded the project to my server: http://hopki360.com/pdf/output/
Do you still get the same thing?
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/
User avatar
360Texas
Moderator
Posts: 3684
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Must be a file association for the .pdf .
You probably have told your computer to open all .pdf file extentions with Adobe Acrobat .pdf reader as a default.


On our PC and Win 10 I click on the .pdf file and it opens in the browser MS EDGE.

This is easily changed like locating and highlight your file.pdf and
fileassociation.JPG
fileassociation.JPG (52.4 KiB) Viewed 3304 times
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com
MPW
Posts: 123
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

That´s it, you´re right.

However in this case it will not satisfy my customer.
This feature probably is activ on many computers and instead of being a textbox there will be a unexplained reader opening.

If you can embed a file into a textbox it should be possible to embed an html-side? (I should work on my html-knowledge)
So there is no way to embed a simple txt-file from out of an extra folder?
MPW
Posts: 123
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

Ok, just found out that embedding an html-side is working.
So I will work on this.

Thanks for the Iframe-hint.
Happy holidays
Post Reply