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 ???
help! please!