Foros del Web » Creando para Internet » HTML »

incluir html en html

Estas en el tema de incluir html en html en el foro de HTML en Foros del Web. Hola, es posible incluir un archivo html, en otro archivo html. Por ejemplo si no quiero utilizar frames y deseo un menú en todas las ...
  #1 (permalink)  
Antiguo 28/08/2002, 12:30
 
Fecha de Ingreso: enero-2002
Mensajes: 8
Antigüedad: 22 años, 3 meses
Puntos: 0
incluir html en html

Hola,
es posible incluir un archivo html, en otro archivo html.
Por ejemplo si no quiero utilizar frames y deseo un menú en todas las páginas podría en todas estas incluir un archivo con ese menu.
Se puede?
En ASP lo hago pero en paginas HTML no conozco.
Gracias

Jóse
  #2 (permalink)  
Antiguo 28/08/2002, 14:42
(Desactivado)
 
Fecha de Ingreso: agosto-2002
Mensajes: 1.458
Antigüedad: 21 años, 8 meses
Puntos: 0
Re: incluir html en html

NO SE ENTIENDE BIEN LA PREGUNTA , SI QUERES UN MENU EN TODAS LAS PAGINAS SIMPLEMENTE USA SIEMPRE EL MISMO ESQUELETO EN TODAS Y LISTO, QUE ES ESO DE INCLUIR HTML EN HTML ? ESTAMO DICIENDO SIEMPRE LO MISMO ?

USA EL DREAMWEVER MX Y OLVIDATE DEL CODIGO HTML ES EL MEJOR PROGRAMA PARA DISEÑAR PAGINAS WEB Y TE GENERA EL CODIGO NO NECESITAS SABER HTML , OBVIAMENTE QUE ES CONVENIENTE TENER UNA NOSION DE LA ETIQUETAS PRINCIPALES DE HTML.

SUERTE

HUGO
  #3 (permalink)  
Antiguo 28/08/2002, 15:49
 
Fecha de Ingreso: marzo-2002
Ubicación: No se!
Mensajes: 121
Antigüedad: 22 años
Puntos: 1
Re: incluir html en html

Puedes usar los bordes compartidos de FrontPage aunke FrontPage es un editor del nabo pero igual te sirve ;)
  #4 (permalink)  
Antiguo 28/08/2002, 15:59
Avatar de .
.
 
Fecha de Ingreso: mayo-2002
Ubicación: Tampico
Mensajes: 906
Antigüedad: 21 años, 11 meses
Puntos: 1
Re: incluir html en html

utiliza javascript externos

document.write('<a href=pagina.html>')
document.write('<a href=pagina2.html>')
etc ...

después los llamas desde los archivos donde quieras que aparezcan

y cuando quieras actualizar el menu solo modificas un archivo y se cambia en todos los demas
  #5 (permalink)  
Antiguo 29/08/2002, 04:14
Avatar de CORE
Usuario no validado
 
Fecha de Ingreso: abril-2002
Ubicación: Merida
Mensajes: 2.165
Antigüedad: 22 años
Puntos: 3
Re: incluir html en html

<!--#include virtual="tupagina.htm" -->

asi tiene que quedar el codigo igual solo modifica tupagina.htrm
tu server tiene que soportar ServerSideIncludes
  #6 (permalink)  
Antiguo 29/08/2002, 04:24
Avatar de Maycol  
Fecha de Ingreso: diciembre-2001
Ubicación: Ávila (España)
Mensajes: 539
Antigüedad: 22 años, 3 meses
Puntos: 0
Re: incluir html en html

Jóse si lo que te dice "CORE" no te va haz lo que hace "."(menudo nombre ;)), aqui te muestro un ejemplo:

index.htm
--------

<script language="javascript" src="menu.js">alert('Fallo No se pudo cargar el menu');</script>

--------


menu.js
--------

document.write('Menu<br>');
document.write('link1');
document.write('lo que sea');
document.write('....');

--------


Si no me confundo te debe funcionar.

Saludos.


<img src=http://www.talleresdelweb.com/~mariojp/cool.gif align=left>Visita:<br>&nbsp;<a href=http://www.talleresdelweb.com target=_blank>Talleres del Web</a><br>&nbsp;<a href=http://www.mumu-weee.com target=_blank>Mumu Weee</a>
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 16:28.