embedded vtours starting at specific scenes

  • how to navigate to external specific scene?


    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,

    it depends a bit how your code is..

    try:

    Code
    popup('iframe', 'etours/signs/tour.html?onstart=loadscene(scene_s02)', 800, 600, false);


    or

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


    ..something like that.

    Hope it helps,
    Tuur *thumbsup*

  • Mahalo nui loa Tuur! The onclick="popup('iframe', 'etours/signs/tour.html?startscene=scene_s02', 925, 600, false, startscene=scene_s02, IGNOREKEEP|REMOVESCENES, BLEND(1));hide_layers();" worked great! :)

Participate now!

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