Jump to content


Photo

Atualizacao De Frame Superior


  • Faça o login para participar
1 reply to this topic

#1 ghb

ghb

    Novato no fórum

  • Usuários
  • 16 posts
  • Sexo:Não informado

Posted 21/10/2009, 10:16

Ola
Tenho um frame superior e inferior cfe codigo abaixo :

<frameset rows="62,*" cols="*" frameborder="fbYes" border="5" framespacing="0" >
<frame src="topo.php" name="topo" id="topo" scrolling="auto" marginwidth="0" marginheight="0" frameborder="1" >
<frame src="login.php" name="detalhe" id="detalhe" scrolling="auto" marginwidth="0" marginheight="0" frameborder="1" >
</frameset>
<noframes><body>
<form style="margin-bottom: 0" id="index" name="index" method="post" action="/admin/index.php">
<table width="800" style="height:600px" border="0" cellpadding="0" cellspacing="0" ><tr><td valign="top">
</td></tr></table>
</form></body></noframes>


A questao que no frame superior TOPO.PHP as vezes nao carrega .
uso este codigo em js para forcar atualizacao mas tb nao funciona
parent.frames['topo'].location.href = parent.frames['topo'].location.href;

Alguém pode me ajudar ?

#2 DiegoCoruja

DiegoCoruja

    12 Horas

  • Usuários
  • 178 posts
  • Sexo:Masculino
  • Localidade:São Vicente - SP
  • Interesses:PROGRAMAÇÃO, WEB DESIGN, ESPORTE,

Posted 30/10/2009, 09:37

Ola amigo
Ja tentou?
[codebox]parent.document.getElementById("topo").src = parent.document.getElementById("icont").src;
[/codebox]
====================================================
Diego M.
Html, CSS, Javascript, Asp, Asp.net, Php, Sql Server, Mysql, Oracle, VB.NET, VBA
====================================================




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq