Ciao a tutti,
sto realizzando un sito con html e js. Ho delle pagine organizzate dei frame in alto a sinistra e centrale, solo che in alcune pagine non voglio il frame di sinistra, ma solo quello in alto.
Nel file index.html ho il seguente codice:
<frameset rows="18%,82%" border="0">
<frame src="header.html" name="header" id="header">
<frameset cols="18%,72%">
<frame src="left.html" name="left" id="left">
<frame src="Home.html" name="contenuto" id="contenuto">
</frameset>
Nel file header.html ho questo codice:
<script language="JavaScript">
function cambiaG()
{
parent.frames.left.location.href="percorso1.html";
parent.frames.contenuto.location.href="pagina1.htm l?id=1";
}
function cambiaH()
{
parent.frames.left.location.href="left.html";
parent.frames.contenuto.location.href="home.html";
}
function cambiaI()
{
parent.frames.left.location.href="left.html";
parent.frames.contenuto.location.href="introduzion e.html";
}
function cambiaL()
{
parent.frames.left.location.href="percorso2.html";
parent.frames.contenuto.location.href="pagina1.htm l";
}
</script>
</head>
<body id="body">
<p id="menu">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr align="center" class="first">
<td width="120">Home</td>
<td width="120">Introduzione</td>
<td width="150">Percorso1</td>
<td width="140">Percorso2</td>
</tr>
</table>
</p>
</body>
</html>
Come faccio a richiamare la home senza il frame di sinistra ma solo in alto?
Grazie!!