how to navigate to external specific scene?

  • How to navigate from any scene to another specif scene a different directory?

    Example:

    Project1.html contains scene_X with a button that links to scene_5 in Project2.html
    (the first scene in project2.html is not scene_5 of course)

    I tried with loadpano, loadscene, linktourl but nothing worked.

    Thanks in advanced,

    Fernando

  • Hi,

    a loadpano() call with IGNOREKEEP and REMOVESCENES and startscene as variable should work...

    e.g. like this:

    Code
    loadpano(tour2/tour.xml, startscene=name_of_the_startscene, IGNOREKEEP|REMOVESCENES, BLEND(1));

    Best regards,
    Klaus

  • Aloha, I am trying to have a vtour popup inside a vtour to a specific scene, is there a way to accomplish this? I am using this code to launch the embeded vtour from the start:

    <hotspot name="PondLife" style="sign_spot" url="etours/signs/panos/s02.tiles/thumb.jpg"
    ath="-49.92391447826935" atv="6.097970827916669" scale="0.2944000000000011" rx="-41.5" ry="-13.450000000000003" rz="-11.25"
    zorder="1"
    tooltip="Life in the Fishpond, Click Me"
    onhover="showtext(hotspot_name, style*)"
    onclick="popup('iframe', 'etours/signs/tour.html', 800, 600, false);hide_layers();"
    />
    When I change it to this,

    <hotspot name="PondLife" style="sign_spot" url="etours/signs/panos/s02.tiles/thumb.jpg"
    ath="-49.92391447826935" atv="6.097970827916669" scale="0.2944000000000011" rx="-41.5" ry="-13.450000000000003" rz="-11.25"
    zorder="1"
    tooltip="Life in the Fishpond, Click Me"
    onhover="showtext(hotspot_name, style*)"
    onclick="loadpano(etours/signs/tour.html, 800, 600, startscene=scene_s02, IGNOREKEEP|REMOVESCENES, BLEND(1));hide_layers();"
    />
    to get it to launch at a specific scene, I get the error "etours/signs/tour.html - xml parsing failed!" Does anybody have any suggestions? I have tried to remove the 800, 600 frame, still with no joy.

    Thank you!

  • Hi,

    here the correct syntax for passing for the popup:

    Code
    onclick="popup('iframe', 'etours/signs/tour.html?startscene=scene_s02', 800, 600, false);hide_layers();"

    About the 'xml parsing failed' - you are trying to load the html file as xml.

    Best regards,
    Klaus

Participate now!

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