Salve a tutti, questo è il mio primo thread sul forum e ne approfitto per salutare a questa grande comunità di programmatori!!!!

Come al solito vado in cerca di aiuto, non sono esperto di javascript, ragion per cui vi pongo il mio problemino XD

Ho una pagina web in html che dovrebbe funzionare su mozilla, che contiene due iframe con lo scopo di aggiornare dati provenienti da script php, nel iframe di partenza ho un select con le sue option contenenti l'evento Onclick che dovrebbe modificare la location del iframe di arrivo, secondo me il problema è che java non riesce a trovare l'iframe d'arrivo ragion per cui il tutto non funziona.

La mia domanda puntuale quindi è esistono i riferimenti assoluti in javascript? se no Come potrei fare per modificare la location del iframe di arrivo partendo da un evento nell'alltro iframe?

la mappa è
|pagina contenente entrambi gli iframe|
|iframe di partenza| |iframe di arrivo|

################################################## #############
Codice della pagina contenente tutte e due - nome - | input2.php |
################################################## ############
<? session_start();
include ("inc/parametri.inc.php");
include ("inc/controllo.php");
include ("inc/open2.php");

$Stanza = 0 +$_SESSION['Stanza'];

$MySql = "SELECT * FROM mappa LEFT JOIN codallineamento ON codallineamento.IDAllineamento = mappa.Allineamento WHERE Mappa.ID = '".pars($Stanza)."'";
#echo $MySql;
$Result = mysql_query($MySql);
$rs = mysql_fetch_array($Result);
//$ID = $rs['ID'];
$_SESSION['nomechat'] = $rs['Breve'];
$Descrizione = $rs['Descrizione'];
//$Pagina = $rs['Pagina'];
//$Chat = 0 + $rs['Chat'];
//$Par = $rs['Par'];
#$Immagine = $rs['Immagine'];
//$Condizione = $rs['Condizione'];
#$Stato = $rs['Stato'];
//$LinkMappa = trim($rs['LinkMappa'].'');
#$DescrizioneAllineamento = $rs['DescrizioneAllineamento'];
#$ColoreAllineamento = $rs['Colore'];
$rs->close;
mysql_free_result($Result);
?>
<html>
<head>
</head>
<body>
<table width="100%" border="0">
<tr>
<th scope="col"><div align="center" style="color:#FFCC99;">Muovi <?php echo $_SESSION['Login']." ".$_SESSION['nomechat']; ?> </div></th>
</tr>
</table>
<table border="0" style="margin-left:30px;">
<tr>
<td valign="top" rowspan="6"><textarea
<?php /*
onKeyDown="opener.change('http://localhost/ninjakousei/input2presenti.php?data=scrivi');"
/*top.location='http://localhost/ninjakousei/input2presenti.php?data=scrivi'; setTimeout('delay()', 5000);
*/
?>
onKeyUp="setTimeout('delay()', 5000);"
onKeyDown="statoturno.contentWindow.location='stat oturno.php?data=scrivi';"
onKeyPress="return noNumbers(event)" id="turno" name="Messaggio" style="margin-left:-8px; border:none; font-weight:normal; background-color:#FFCC99; font-family:Verdana;font-size:8pt; color:#b4121f;" wrap="physical" cols="110" rows="10"></textarea></td>
<th scope="col"><select style="border:none; font-weight:normal; background-color:#FFCC99; font-family:Verdana;font-size:8pt; margin-top:1px; color:#b4121f;" id="luogo" name="luogo">
<option>Centro di Konoha</option>
<option>Ichiraku no Ramen</option>
<option>Piazza di Konoha</option>
<option>Pub Insegna Luminosa</option>
</select>
</th>
</tr>
<tr>
<td align="center">
<iframe height="15px" style="margin-left:0px; margin-top:0px;" scrolling="no" frameborder="0" width="170px" src="stato_giocatore_input2.php"></iframe>
</td>
</tr>
<tr>
<th scope="col"><input id="impastare_chakra" type="text" value="Impastare Chakra" style="border:none; font-weight:normal; text-align:center; background-color:#FFCC99; font-family:Verdana; font-size:8pt; color:#b4121f;"></th>
</tr>
<tr>
<th valign="middle" scope="col"><input id="vedistato" type="image" src="img/tastostato.jpg" value="Vedi Stato" onClick="nascondi();" onMouseOver="javascript: document.getElementById('vedistato').src='img/tastostatorov.jpg';" onMouseOut="javascript: document.getElementById('vedistato').src='img/tastostato.jpg';"></th>
</tr>
<tr>
<th valign="middle" scope="col">
<input id="infochat" type="image" src="img/tastoaiuto.jpg" onMouseOver="javascript: document.getElementById('infochat').src='img/tastoaiutorov.jpg';" onMouseOut="javascript: document.getElementById('infochat').src='img/tastoaiuto.jpg';" name="aiuto" value="Aiuto" onClick="Javascript:window.open('helpinput.php','_ new','height=400,width=600,toolbar=no,location=no, status=yes,menubar=no,scrollbars=yes,resizable=yes ')">
</th>
</tr>
<tr>
<th style="height:53px;" scope="col"><form target="chatinput" name="invio" onsubmit='return passadatisi()' action="input.php" method="post">
<input type="hidden" id="chakra_attuale" name="chakra_attuale" value="">
<input type="hidden" id="Tag" name="Tag" value="">
<input type="hidden" id="Messaggio" name="Messaggio" value="">
<input id="invia" name="tastoinvia" type="image" style="vertical-align:baseline; font-weight:bold; font-family:Verdana;" onMouseOut="document.getElementById('invia').src=' img/tastoinvia.jpg';" onMouseOver="document.getElementById('turno').valu e=StripAll(document.getElementById('turno').value) , document.getElementById('invia').src='img/tastoinviarov.jpg';" value="Invia" src="img/tastoinvia.jpg">
</form></th>
</tr>
</table>

<div onMouseOver="div.contentWindow.location='input2pre senti.php';" id="divstato" style="display:none; width:100%; height:140px; overflow: auto; margin-left:-10px;">
<iframe id="div" width="100%" height="100px" frameborder="0" src="input2presenti.php"></iframe>
<iframe name="statoturno" id="statoturno" frameborder="0" style=" width:0px; height:0px;" src="statoturno.php"></iframe>
</div>
</body>
</html>
################################################## #############


################################################## #############
iframe di partenza - nome - | stato_giocatore_input2.php |
################################################## #############
<? session_start();
include ("inc/parametri.inc.php");
include ("inc/controllo.php");
include ("inc/open2.php");
include ("clienti/conf.php");

?>
<html>
<head>

</head>
<body bgcolor="#b4121">
<div style="margin-top:-8px; margin-left:20px;">
<select style="text-align:center; border:none; font-weight:normal; background-color:#FFCC99; font-family:Verdana;font-size:8pt; color:#b4121f;" id="statogiocatore" name="statogiocatore">
<option <?php if($_SESSION['option_stato_giocatore']==1) echo 'selected';?> onClick="statoturno.contentWindow.location='statot urno.php?statogiocatore=1';">In Linea</option>
<option <?php if($_SESSION['option_stato_giocatore']==2) echo 'selected';?> onClick="statoturno.contentWindow.location='statot urno.php?statogiocatore=2';">Occupato</option>
<option <?php if($_SESSION['option_stato_giocatore']==3) echo 'selected';?> onClick="statoturno.contentWindow.location='statot urno.php?statogiocatore=3';">Torno Subito</option>
<option <?php if($_SESSION['option_stato_giocatore']==4) echo 'selected';?> onClick="statoturno.contentWindow.location='statot urno.php?statogiocatore=4';">Non al Computer</option>
<option <?php if($_SESSION['option_stato_giocatore']==5) echo 'selected';?> onClick="statoturno.contentWindow.location='statot urno.php?statogiocatore=5';">Al Telefono</option>
<option <?php if($_SESSION['option_stato_giocatore']==6) echo 'selected';?> onClick="statoturno.contentWindow.location='statot urno.php?statogiocatore=6';">A Pranzo</option>
</select>
</div>
</body>
</html>
################################################## #############


################################################## #############
iframe d'arrivo - nome - | statoturno.php |
################################################## #############
<?php session_start();?>
<?php
include ("clienti/conf.php");
connectupdate();
// echo session_id();
if($_REQUEST['data']=='scrivi'){

$nome=$_SESSION['Login'];
$record['statoturno']=addslashes('scrivendo...');
modif_stato($record,$nome);

}

if($_REQUEST['disable']=='fermo'){
$nome=$_SESSION['Login'];
$record['statoturno']=addslashes('in attesa...');
modif_stato($record,$nome);
}

if($_REQUEST['statogiocatore']=='1'){
$_SESSION['option_stato_giocatore']=1;
$nome=$_SESSION['Login'];
$record['statogiocatore']=addslashes('In Linea');
modif_stato($record,$nome);
}

if($_REQUEST['statogiocatore']=='2'){
$_SESSION['option_stato_giocatore']=2;
$nome=$_SESSION['Login'];
$record['statogiocatore']=addslashes('Occupato');
modif_stato($record,$nome);
}

if($_REQUEST['statogiocatore']=='3'){
$_SESSION['option_stato_giocatore']=3;
$nome=$_SESSION['Login'];
$record['statogiocatore']=addslashes('Torno Subito');
modif_stato($record,$nome);
}

if($_REQUEST['statogiocatore']=='4'){
$_SESSION['option_stato_giocatore']=4;
$nome=$_SESSION['Login'];
$record['statogiocatore']=addslashes('Non al Computer');
modif_stato($record,$nome);
}

if($_REQUEST['statogiocatore']=='5'){
$_SESSION['option_stato_giocatore']=5;
$nome=$_SESSION['Login'];
$record['statogiocatore']=addslashes('Al Telefono');
modif_stato($record,$nome);
}

if($_REQUEST['statogiocatore']=='6'){
$_SESSION['option_stato_giocatore']=6;
$nome=$_SESSION['Login'];
$record['statogiocatore']=addslashes('A Pranzo');
modif_stato($record,$nome);
}
/*
if ($_GET['Mod'] == '1') {
$Cond = " RIGHT JOIN gilda ON gilda.IDGilda = presenti.IDGilda AND (gilda.Prigione=1 OR gilda.Esilio=1) ";
$TitoloPresenti = $par_ModeratorsName;
} else {
$Cond = "";
$TitoloPresenti = "personaggi";
}

$MySql = "SELECT count(Nome) AS Numero FROM presenti $Cond WHERE OraUscita = '2037-12-31 00:00:00'";
echo "";
$Result = mysql_query($MySql);
$rs = mysql_fetch_array($Result);
$cont = $rs["Numero"];
$rs->close;
mysql_free_result($Result);
$nome=$_SESSION['Login'];// AND Nome<>'$nome'
$MySql = "SELECT * From presenti $Cond WHERE OraUscita = '2037-12-31 00:00:00' ORDER BY Is_Invisibile, Mappa, StanzaApparente, Nome";
$Result = mysql_query($MySql);

$OldNomeLuogo = "";

while ($rs = mysql_fetch_array($Result)) {

$Stanza1 = 0 + $rs["StanzaApparente"];

if (($Stanza1 > 0) && ($Stanza1 != "")) {
if ($rs['Is_Invisibile'] == 1) {
$NomeLuogo = "Invisibile";
} else {

$MySql = "SELECT Breve FROM mappa WHERE ID = ".$Stanza1;
$Result1 = mysql_query($MySql);
if ($rsA = mysql_fetch_array($Result1)) {
$NomeLuogo = $rsA["Breve"];

} else {
$NomeLuogo = "";
}
$rsA->close;
mysql_free_result($Result1);
}

};


//$pg = trim($rs["Nome"]);
//$_SESSION['statoturno']= trim($rs["statoturno"]);

//$pg = trim($rs["Nome"]);
//$_SESSION['statoturno']=trim($rs["statoturno"]);
//$statogiocatore=trim($rs["statogiocatore"]);
# If (strstr($rs["Stanza"], "albergo") != false) {$NomeLuogo = "Albergo";};
if ($Stanza1 == 0) {$NomeLuogo = "In Giro";}
$MappaCorrente=$rs['Mappa'];
$_SESSION['nomechat'] = $rs['Mappa'];
if ($Stanza1 == 1) {$MappaCorrente = "Mappe";}
if ($NomeLuogo != $OldNomeLuogo) {

$_SESSION['conca']= "<td style=\"font-weight:bold; background-color:#b4121f; font-family:Verdana; font-size:10pt; color:#FFCC99;\">".$rs["statogiocatore"]."</td><td style=\"font-weight:bold; background-color:#b4121f; font-family:Verdana; font-size:10pt; color:#FFCC99;\">".$rs["statoturno"]."</td></tr>";
}
}

$rs->close;
mysql_free_result($Result);
*/
?>



Vi ringrazio in anticipo di qualunque spiraglio di luce mi diate XD