Getting the correct XMl Path

  • Hey guys. I know this is a stupid question but I am having trouble getting the correct XML path to load another pano from a different tour. I want to go 5 folders up from where the tour.xml is and then direct 5 folders down in the directory to load the new tour.xml. My code looks something like this (Do not want to use real names of the folder):

    loadpano('%FIRSTXML%/../../../../../Ex1/Ex1/Folder1/Another_Folder/vtour/tour.xml');

    What should I do differently? Thanks

  • Bump.. anyone have an idea on what i'm doing wrong?

    Edit: Just moved the xml to the folder to avoid that issue but now when I click the hotspot, I just get a black screen that says 'loading'. Here is my code:

    <hotspot name="spot1" style="skin_hotspotstyle" ath="59.047" atv="21.089" onclick="loadpano('%FIRSTXML%/vtour/tour.xml')" linkedscene="scene_mobile" />

    Einmal editiert, zuletzt von alexaggs (8. März 2018 um 10:02)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!