How to have a pano in an iframe load a scene in another pano?

  • I have a floating iframe with a map ( a flat pano with hotspots ) that im trying to do loadscene in the main window pano that is underneath the map.

    How do I have the xml from the html in the iframe talk to both the html of the main window and the xml that has all the scenes of the tour?

    please help! *wacko*

  • it seems like that is the problem the id ....

    but strange enough it works in mac Safari 5.02 but not in mac firefox 3.6.16 .....

    this check box in the iframe (map window):

    <input type='checkbox' id='showHideMap' onclick='parent.toggleLayerDisplay("floatframe")' />

    toggles the visibility of the map ( a floating iframe over the main pano window"


    and this script in the main (parent) html:

    <script>
    function toggleLayerDisplay(sDivID){
    var ndTargetLayer = document.getElementById(sDivID);
    if(ndTargetLayer.style.display == 'none'){
    ndTargetLayer.style.display = 'block';
    }
    else{
    ndTargetLayer.style.display = 'none';
    }
    }
    </script>


    and the Map in the iframe calls (from a hotspot) a javascript accordion menu (in the main html window)

    onclick="js(parent.ddaccordion.expandone(menuheaders, 10); return false);"


    and this other hotspot opens a pano in the main (parent) pano window:

    onclick="js(loadscene(scene_66, null, MERGE, BLEND(1)); setmask(mask_edificio_principal, 0,340,377);)"


    all the previous calls work in safari but not in firefox.....

    does anybody know why ??? *wacko* *confused*

    help! please!

Jetzt mitmachen!

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