You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, August 28th 2017, 12:17pm

How to call an xml file

good afternoon :)
Help please with the implementation of the following task:
In the tour I want to implement a simple button, when I click on that, I want to load the internal xml file.
How to do it in panotour pro 2.5.8?

I do not know the syntax of calling an xml file, but I have such plugins and capabilities:
Actions triggered on click-call custom code - Krpano code to call
or
Via java script call function

How to implement and what function to do to call an xml file.
Your suggestions and implementation options :)
Thank so much
=================
My Button
1.png
2.png
3.png

How to properly write a call file via a Java function and Where to insert it correctly?
myJavascriptFunction();
4.png
I need to download this file
index_ru.xml
==================
I want to implement 3 languages on the tour by downloading the xml file.
I not only have the need to change the text (this I realized through change language in panotour function), but also pictures in different languages, and for this I need three different index_ru.xml, index_ro.xml. In which I will write more and deeper

please help with the syntax :)
How to properly call / load a new xml file through a javascript

<script type="text/javascript">
function dopopup(){
window.open("index_ru.xml")
}
</script>

in the same window, the internal xml file
How correctly to change this line?
" window.open("index_ru.xml") "

Help please, thanks a lot :)
virtualtur has attached the following images:
  • 1.png
  • 2.png
  • 3.png
  • 4.png

This post has been edited 2 times, last edit by "virtualtur" (Aug 28th 2017, 2:49pm)