allora noi dobbiamo trasformare una pagina html composta da vri frame in una pagina unica senza frame

e per questo ci servon i div dinamici ...

posto i vari codici:
ecco la pagina principale, che contiene tutti i frame (scuole.htm)

<HTML>
<TITLE>BDP - Banche dati</TITLE>

<FRAMESET ROWS="60,85%" border="no">
<FRAME SRC="scuolel.htm" NAME="scuolel" MARGINHEIGHT="2" MARGINWIDTH="2" SCROLLING="no" >
<FRAMESET COLS="25%,75%" border="yes">
<FRAMESET ROWS="93%,27" border="yes">
<FRAME SRC="scuoleg.htm" NAME="scuoleg" SCROLLING="auto" >
<FRAME SRC="scuoleg1.htm" NAME="barra1" MARGINHEIGHT="2" MARGINWIDTH="2" SCROLLING="no">
</FRAMESET>
<FRAMESET ROWS="93%,27">
<FRAME SRC="vuoto.htm" NAME="liste" SCROLLING="auto">
<FRAME SRC="scuoleg2.htm" NAME="barra2" MARGINHEIGHT="2" MARGINWIDTH="2" SCROLLING="no">
</FRAMESET>

</FRAMESET>
</FRAMESET>


<NOFRAMES>
Il tuo browser non visualizza i frames! Aggiornalo con Netscape 3.0!
</NOFRAMES>


</HTML>
------------------------------------------------------------------------------------
1. frame ( scuolel.htm)
<HTML>
<TITLE> Biblioteca di Documentazione Pedagogica di Firenze </TITLE>
<SCRIPT>
function help() {top.liste.location="scuoleh.htm";}
</SCRIPT>
<BODY bgcolor="000000" text="FFFFFF" link="FFFFFF" vlink="FFFFFF" alink="D03300">

<base TARGET="liste">

[img]bdpino.gif[/img][img]logo3.jpg[/img]
<FORM NAME="libera" method=POST ACTION="/cgi-bin/findcgi3i">
<INPUT type="hidden" NAME="ricerca" VALUE="libera">
<INPUT type="hidden" NAME="dbnpath" VALUE="/home/gruppo/Desktop/scuolepar/scuole">
<INPUT type="text" NAME="queri" SIZE="55">

<INPUT type="submit" NAME="rice" VALUE="Ricerca">
<INPUT type="reset" VALUE="Reset ">
<INPUT TYPE="button" VALUE=" Help " onClick="help()">

</FORM>
</BODY>
</HTML>
--------------------------------------------------------------------------------------
2.frame (scuoleg.htm)
<HTML>
<TITLE> Biblioteca di Documentazione Pedagogica di Firenze </TITLE>
<SCRIPT LANGUAGE="JavaScript1.1">
window.onerror=null;
n=1;
function vai(n){
document.guidata.Autori.value="";
document.guidata.Titoli.value="";
document.guidata.Descrittori.value="";
document.guidata.Soggetti.value="";
document.guidata.Editori.value="";
document.guidata.Inverted.value="";
if(n==1){document.guidata.Autori.value="9 v8^a' 'v8^b";}
if(n==2){document.guidata.Titoli.value="50 v7^a";}
if(n==3){document.guidata.Descrittori.value="20 v20/ v21/ v22";}
if(n==4){document.guidata.Soggetti.value="23 v23";}
if(n==5){document.guidata.Editori.value="52 v10^b";}
if(n==6){document.guidata.Inverted.value="0 0";}
document.guidata.submit();
}
</SCRIPT>


<BODY bgcolor=#b11818 text=FFFFFF link=FFFFFF vlink=FFFFFF alink=FFFFFF>
<IMG SRC=rg2.gif >

<img src=sss.gif align=middle border=0>Autori

<img src=sss2.gif align=middle border=0>Titoli

<img src=sss3.gif align=middle border=0>Descrittori

<img src=sss.gif align=middle border=0>Soggetti

<img src=sss2.gif align=middle border=0>Editori

<img src=sss3.gif align=middle border=0>Inverted



<base TARGET=liste>
<FORM NAME="guidata" method=POST ACTION="/cgi-bin/lincgi3i">
<INPUT type="hidden" NAME="dbnpath" VALUE="/home/gruppo/Desktop/scuolepar/scuole">
<INPUT type="hidden" NAME="Autori" VALUE="">
<INPUT type="hidden" NAME="Titoli" VALUE="">
<INPUT type="hidden" NAME="Descrittori" VALUE="">
<INPUT type="hidden" NAME="Soggetti" VALUE="">
<INPUT type="hidden" NAME="Editori" VALUE="">
<INPUT type="hidden" NAME="Inverted" VALUE="">
<input type="hidden" NAME="altro" VALUE="0 0 0 5 65">
&nbspDa........a

&nbsp<INPUT NAME="startfrom" SIZE="5"><INPUT NAME="finoa" SIZE="5">


</FORM>
</BODY>

</HTML>
------------------------------------------------------------------------------------
3.frame (scuoleg1.htm)
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript1.1">
window.onerror=null;
cont=1;
function mostraliste(){
top.scuoleg.document.guidata.submit();
}

function annulla(){
top.scuoleg.document.guidata.reset();
}

function avanti(){
//if(cont==1)top.scuoleg.location="scuolegb.htm";
if(cont==1){top.location="scuolem.htm";}
//if(cont==2)top.scuoleg.location="scuolegc.htm";
cont++;
}

function indietro(){
//if(cont==2)top.scuoleg.location="scuoleg.htm";
//if(cont==3)top.scuoleg.location="scuolegb.htm";
//if(cont==4){top.scuoleg.location="scuolegc.htm";
top.liste.location="vuoto.htm";
cont--;
}
</SCRIPT>
</HEAD>
<BODY bgcolor="87ffeb">
<FORM>
<!--
<INPUT TYPE="button" VALUE="Reset" onClick="annulla()">
-->
<!--
INPUT TYPE="button" VALUE="Liste" onClick="
//www=top.liste.open('vuoto.htm','www','width=500,he ight=300,scrollbars=1');
//www.focus();//document.guidata.target='www'; mostraliste()">
-->

<!-----
<img src=rg2.gif width=120 height=23 border=0>
--->

</FORM>
</BODY>
</HTML>
--------------------------------------------------------------------------------------
4. frame (scuoleg2.htm)
<HTML>
<BODY bgcolor="87ceeb">
<SCRIPT>
var n=0,j;
window.onerror=null;
function MakeArray(n){
this.length=n;
for(var i=1;i<n;i++)this[i]=" ";return this;
}
function apri(){
//rpre[++n]=top.liste.document.mostra.result.value;
www=open("ripre.htm","riprew",'scrollbars=yes,widt h=400,height=200');
//www.location.reload();
www.focus();
www.document.write("Funzione in allestimento","
");
for(var i=1;i<=n;i++)
www.document.write(i," ",rpre[i],"
");
//www.document.write(www.location.hostname,"
");
//www.document.write(www.location.host,"
");
//www.document.writeln(top.liste.document.mostra.que ry.value,"
");
}


function mostraliste(){
top.scuoleg.document.guidata.submit();
}

function guidata(){
//top.www.focus();
top.liste.document.ricerca.submit();
//for(var a=1;a<65;a++)
//www.document.write(top.liste.document.ricerca.A.va lue," mart6a
");
//rpre[++n]="maria";
//rpre[++n]=top.liste.document.mostra.result1.value;
//top.liste.document.mostra.result1.value;
}


function annulla(){
top.liste.document.ricerca.reset();
// top.liste.document.write(top.liste.name,"
");
top.parent.liste.close();
}

function libera(){
top.scuolel.document.libera.submit();
}

function mostradoc(){
top.liste.document.mostra.submit();
rpre[++n]=top.liste.document.mostra.result.value;
//rpre[++n]='<input type="checkbox" name="A" value="ii">'
}



function help(){
top.liste.location="scuoleh.htm";
}
rpre = new MakeArray(20);
</SCRIPT>

<FORM>
<!--
<INPUT TYPE="button" VALUE="Reset" onClick="annulla()">
-->
<INPUT TYPE="button" VALUE="Ricerca" onClick="guidata()">

<INPUT TYPE="button" VALUE=" Vista " onClick="mostradoc()">
<INPUT TYPE="button" VALUE="Indietro " onClick="top.liste.history.back()">
<INPUT TYPE="button" VALUE="Avanti" onClick="top.liste.history.forward()">

<!---
<INPUT TYPE="button" VALUE="Ric_pr." onClick="apri()"> --->

<!--
<INPUT TYPE="button" VALUE=" <> " onClick=" top.scuoleg.close();
www1=open('scuole2.htm','www1','menubar=1,toolbar= 1') //;
www1.location.reload();">
-->




</FORM>
</BODY>