Jump to content

Problema com frames


Recommended Posts

Viva !

Tenho as seguintes Frames no ficheiro index:

<frameset cols="100%" rows="10%,80%,5%">
<frame name="cabecalho" src="Cabecalho.php" frameborder="0">
<frameset cols="20%,75%">
	<frame name="menu" src="Menu.php" frameborder="0">
	<frame name="principal" src="Principal.html" frameborder="0">
<frame name="rodape" src="Rodape.html" frameborder="0">
A duvida é seguinte estando por exemplo na frame "principal" como mando escrever algo na frame "cabecalho" ?
Tentei isto mas não dá, escreve onde estou
 <frame name="cabecalho" src="Cabecalho.php" >
	<p align=right> <A HREF="fecha_sessao.php" target="cabecalho">Sair</A> </p>


Link to comment
Share on other sites

my bad!

tens que usar a tag NAME:

     <FRAME SRC="recipetitlebar.html" NAME=TITLE SCROLLING=NO>

     <FRAMESET COLS="20%,*">
          <FRAME SRC="recipesidebar.html" NAME=SIDEBAR>
          <FRAME SRC="recipes.html" NAME=RECIPES>


<a href="index.html" target="TITLE">
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.