Ver Mensaje Individual
  #6 (permalink)  
Antiguo 29/04/2010, 12:09
Avatar de abimaelrc
abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 15 años
Puntos: 1517
Respuesta: Header ¿target?

Para poder llamar una página dentro de un iframe debes hacerlo algo así:
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin título</title>
  5. <script type="text/javascript">
  6. function getURL(){
  7.     window.nombreIframe.location = 'http://google.com';
  8. }
  9. window.onload = getURL;
  10. </head>
  11. <iframe name="nombreIframe"></iframe>
  12. </body>
  13. </html>
__________________
Verifica antes de preguntar.
Los verdaderos amigos se hieren con la verdad, para no perderlos con la mentira. - Eugenio Maria de Hostos