Ir para conteúdo
Fórum Script Brasil

DouglasCar

Membros
  • Total de itens

    1
  • Registro em

  • Última visita

Sobre DouglasCar

DouglasCar's Achievements

0

Reputação

  1. Olá pessoal, estou com o seguinte problema, tenho uma página onde executo operações de salvar e quero abrir uma outra página dentro desta página principal. Tentei utilizar iframe, mas acontece que sempre que executo uma operação de salvar e com isso carrego novamente a página principal, a página que está no iframe carrega novamente e com isso perco o que estava visualizando neste iframe. Segue o código da página: <table border="0"> <tr><td> <table border="0"> <tr> <td colspan="2" align="center"> <button id="MP" onclick="showElementid(this);"><?= $html- >image('mp.jpg') ?></button> </td> </tr><tr> <td><button id="E" onclick="showElementid(this);"><?= $html- >image('gire_esquerda.jpg') ?></button></td><td><button id="D" onclick="showElementid(this);"><?= $html->image('gire_direita.jpg') ? ></button></td> </tr> </table> </td><td> <table border="0"> <tr> <td colspan="2" align="center"></td> </tr> </table> </td><td> <table border="0"> <tr> <td><button id="MC" onclick="showElementid(this);"><?= $html- >image('mc.jpg') ?></button></td><td><button id="L" onclick="showElementid(this);"><?= $html->image('led.jpg') ?></ button></td> </tr> <tr> <td colspan="2" align="center"><button id="S" onclick="showElementid(this);"><?= $html->image('som.jpg') ?></ button></td> </tr> </table> </td><td> <table> <iframe id=nome name="iframe01" src="http://webmeeting.dimdim.com" width="300" height="200" scrolling="Auto"></iframe> </table> </td> </tr> </table> <table border="0" width="56%"> <tr> <td><button id="COMANDO" onclick="showElementid(this);">EXECUTA COMANDO</button></td> </tr> </table> <script type="text/javascript"> var acumulador = ""; if (myElement.id == "COMANDO") { acumulador = 'COMANDO'; window.location.href='executa_comando/'+acumulador; } </script> Agradeço se alguém tiver alguma dica para resolver este problema de carregamento de ambas as páginas após o salvamento.
×
×
  • Criar Novo...