Ciao

non riesco a risolvere il seguente problema
ho un frameset...

<html>
...
<script type='text/javascript'>

function f_hide_head(){

window.alert("ok funziona!");
}
</script>
...

</head>

<frameset id='frame_all' cols="30%,23,890,0,19,30%" border="0" scrolling="no">
<frame name="frame_b1" src="frame_c/frame_bk.htm" border="0" scrolling="no">
<frame name="frame_left" src="frame_c/frame_left.htm" border="0" scrolling="no">


<frameset id='frame_site' rows="240,*" border="0">
<frame name="frame_head" src="head.php" border="0" scrolling="no">
<frame name="frame_body" src="body_index.php" border="0" scrolling="auto">
</frameset>

<frame name="frame_photo" src="frame_c/frame_bk.htm" border="0" scrolling="no">

<frame name="frame_right" src="frame_c/frame_right.htm" border="0" scrolling="no">
<frame name="frame_b2" src="frame_c/frame_bk.htm" border="0" scrolling="no">
</frameset>
...

sono 6 colonne e alla 3° c'è un frameset diviso in 2 righe


>>>>> nel frame "frame_body" in body_index.php ho una funzione "fx()" che deve chiamare la funzione "f_hide_head()" presente nella pagina dei frameset <<<<


la funzione fx sarebbe

function fx (){
window.top.f_hide_head();

}

ho provato in tutti modi

window.top.f_hide_head();

window.parent.f_hide_head();

parent.parent. f_hide_head();

e altre diavolerie varie ... niente, non funziona


>> in pratica non riesce a salire di 2 gerarchie...

infatti se uso solo

<frameset id='frame_site' rows="240,*" border="0">
<frame name="frame_head" src="head.php" border="0" scrolling="no">
<frame name="frame_body" src="body_index.php" border="0" scrolling="auto">
</frameset>

quindi una sola gerarchia, funziona correttamente


ho provato anche a fare questo
<frameset id='frame_all' cols="30%,23,890,0,19,30%" border="0" scrolling="no">
<frame name="frame_b1" src="frame_c/frame_bk.htm" border="0" scrolling="no">
<frame name="frame_left" src="frame_c/frame_left.htm" border="0" scrolling="no">


<frame name="frame_center" src="frame_center.htm" border="0" scrolling="no">

<frame name="frame_photo" src="frame_c/frame_bk.htm" border="0" scrolling="no">

<frame name="frame_right" src="frame_c/frame_right.htm" border="0" scrolling="no">
<frame name="frame_b2" src="frame_c/frame_bk.htm" border="0" scrolling="no">
</frameset>

e nella pagina frame_center.htm inserire


<frameset id='frame_site' rows="240,*" border="0">
<frame name="frame_head" src="head.php" border="0" scrolling="no">
<frame name="frame_body" src="06_barion_server/index.php" border="0" scrolling="auto">
</frameset>

....con la funzione....

function f_hide_head(){

window.alert("ok funziona!");
}
ma non va nemmeno


il problema e che non devo caricare una pagina in un determinato frame annidato ma devo chiamare una funzione che dovrà agire sui frameset


so che potrei fare una griglia e rimuovere i frameset annidati ma avrei problemi perchè tutto sto casino mi serve per poter ridimensionare le colonne con javascript


HELP PLEASE !!!

Grazie ciao