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 :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!