Sie sind nicht angemeldet.

1

Mittwoch, 7. März 2018, 09:33

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

2

Donnerstag, 8. März 2018, 08:58

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

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »alexaggs« (8. März 2018, 10:02)


3

Montag, 12. März 2018, 09:21

Did you move just tour.xml or the whole folder?