Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/10/2011, 04:37
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 17 años, 7 meses
Puntos: 1567
Respuesta: Mostrar contenido de otra página sin cambiar la barra del navegador

Podes poner un iframe que ocupe el 100% de la pantalla, con php usar includes() ó file_gets_contens(), o con marcos,

index.html
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>urlfalsa</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. </head>
  7.   <frameset rows="25px, *">
  8.      <frame name="arriba" src="arriba.html" scrolling="no" noresize="noresize" frameborder="0" id="arriba" />
  9.      <frame name="abajo" src="http://forosdelweb.com" scrolling="auto"  noresize="noresize" frameborder="0" id="abajo" />
  10.   <noframes>
  11. <p>Su navegador no soporta marcos</p>
  12. </body>
  13.   </noframes>
  14. </frameset>
  15. </html>

arrba.html
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es" >
  4. <title>marco superior</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <script type="text/javascript">
  7. //<![CDATA[
  8. if (self.location == top.location)
  9. top.location.href = 'index.html';
  10. //]]>
  11. </head>
  12. <div>
  13. <a href="javascript:parent.document.body.rows='0,*'">cerrar este marco</a>  |
  14. <a href="#" onclick="window.parent.location.href='http://forosdelweb.com'">ver url original</a>
  15. </div>
  16. <!-- ©2000 Emprear.com -->
  17. </body>
  18. </html>

Saludos
__________________
La voz de las antenas va, sustituyendo a Dios.
Cuando finalice la mutación, nueva edad media habrá
S.R.