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" />

    Edited once, last by alexaggs (March 8, 2018 at 10:02 AM).

Participate now!

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