ciao.
Proprio non capisco come far funzionare il mio codice su firefox. Su IE funziona perfettamente.
Ho un iframe
Codice PHP:
<iframe id="indexFrame" src="indexFrame.php" scrolling="no" name="indexFrame" height="100%" width="100%" frameborder="no" scrollbar="no"></iframe
in questo iframe ho questo codice
Codice PHP:
<STYLE>
  
#pop {
  
position:absolute;
  
width:300px;
  
height:150px;
  
border:1px solid black;
  
background-color:#BBD3ED;
  
font-family:Verdana;
  
font-color:#000000;
  
font-size:11px;
  
line-height:15px;
  
cursor:default;
  
z-index:4;
  
filter:alpha(opacity=40);
  
visibility:hidden;
}
</
style>

<
div id="pop">
<
div class="menuitems" url="#" id="testo">Start</div>
</
div>
function 
showMenu(menu,tx){
  
menu.style.left 390;
  
menu.style.top =  88;
  
menu.style.visibility="visible";
  
menu.innerHTML tx;
  return 
false;

}

function 
hidemenu(menu){
  
menu.style.visibility="hidden";

questo menu e' invisibile. Dalla pagina madre, andando col mouse su un bottone boglio farlo visibile e all'onmouseout lo rendo invisibile.

Il fatto e' che con IE
Codice PHP:
function inInfo(tx){
    if(
loading){
        if(
document.frames['indexFrame']){
            
document.frames['indexFrame'].showMenu(document.frames['indexFrame'].pop,tx);
        }
    }
}

function 
outInfo(){
    if(
loading){    
        if(
document.frames['indexFrame']){
            
document.frames['indexFrame'].hidemenu(document.frames['indexFrame'].pop);
        }
    }

Allora mi sono documentato...ma anche con document.getElementById('indexFrame') ....non riesco a raggiungere l'oggetto DIV che ha id='pop'.

Dove sbaglio?