
11/08/2004, 17:57
|
| | Fecha de Ingreso: agosto-2003 Ubicación: España - Madrid
Mensajes: 169
Antigüedad: 21 años, 8 meses Puntos: 0 | |
La página en cuestión no tiene nada de código, solo tiene ese método include metido para incluir el encabezamiento. La página que contiene el encabezamiento si que tiene código metido (lógico), únicamente la cabecera que quiero se incluya y una serie de códigos que van con ella (fecha...). Aquí pongo su código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- CÓDIGO PRECARGA EN HEAD -->
<script language="JavaScript">
<!--
ns=document.layers
ie=document.all
function esconde() {
if (ie) precarga.style.visibility="hidden";
if (ns) document.precarga.visibility="hide";
}
// -->
</script>
<style>
#precarga{position:absolute; width:100%; height:100%; top:0; left:0}
</style>
<!-- CÓDIGO BARRA DESPLAZAMIENTO AZUL -->
<style TYPE="text/css">
<!--
body { scrollbar-face-color: #666699; scrollbar-shadow-color: #FFFFFF; scrollbar-highlight-color: #000000; scrollbar-3dlight-color: #000000; scrollbar-darkshadow-color: #000000; scrollbar-track-color: #FFFFFF; scrollbar-arrow-color: #FFFFFF }
-->
</style>
<!-- CÓDIGO COLORES LINKS -->
<style>
<!--
.menuskin{
position:absolute;
width:166px;
background-color:#5BE37D;
border:2px solid black;
font:normal 12px Verdana;
line-height:18px;
z-index:100;
visibility:hidden;
left: 62px;
height: 23px;
}
.menuskin a{
text-decoration:none;
color:black;
padding-left:10px;
padding-right:10px;
}
#mouseoverstyle{
background-color:highlight;
}
#mouseoverstyle a{
color:white;
}
-->
</style>
<style type="text/css">
<!--
A
{
color: white;
TEXT-DECORATION:none
}
A:hover
{
color: red;
TEXT-DECORATION:none
}
-->
</style>
<!-- CÓDIGO ANTIERROR -->
<script>function antierror(){return true}; window.onerror = antierror;</script>
<!-- CÓDIGO PRECARGA EN BODY -->
<script language="JavaScript">
if(ie || ns) document.write('<div id="precarga" align="center"><br></div>');
</script>
<title> >>>> De ToDo UN PoCo <<<< </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table width="98%" height="6%" border="0" align="left" bordercolor="#000000" bgcolor="#0066FF">
<tr>
<td><div align="justify"> </div>
<div align="justify">
<table width="112%" border="0" bordercolor="#000000">
<tr>
<td> <div align="right"> </div>
<table width="26%" height="131" border="0" align="left" bordercolor="#000000">
<tr>
<td height="123" align="right" valign="top"><div align="justify">
<table width="84%" height="34" border="0" align="center">
<tr>
<td><tt><strong><font color="#FF0000" size="5"><a href="http://www.todounpoco.tk">www.todounpoco.tk</a></font></strong></tt></td>
</tr>
</table>
<p align="center"><tt><img src="http://www.iespana.es/frggsdetodounpoco/detodounpoco/imagenes/logo.gif" width="190" height="81"></tt></p>
</div></td>
</tr>
</table>
<table width="68%" height="141" border="0">
<tr>
<td> <table width="55%" border="0" align="left">
<tr>
<td><tt>
<script>
var mydate=new Date();
var year=mydate.getYear();
if (year < 1000)
year+=1900;
var day=mydate.getDay();
var month=mydate.getMonth();
var daym=mydate.getDate();
if (daym<10)
daym="0"+daym;
var dayarray=new Array("Domingo","Lunes","Martes","Miercoles","Juev es","Viernes","Sábado");
var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Ju nio","Julio","Agosto","Septiembre","Octubre","Novi embre","Diciembre");
document.write("<small><font color='#FFFFFF' face='Arial'><b>"+ dayarray[day] + " " + daym + " de " + montharray[month] + " de " + year + "</b></font></small>");
</script>
</tt></td>
</tr>
</table>
<p> </p>
<table width="82%" height="100" border="0" align="center">
<tr>
<td height="85"> <div align="left"><tt><img src="http://www.iespana.es/frggsdetodounpoco/detodounpoco/imagenes/logoweb.jpg" width="473" height="75"></tt></div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</div></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</body>
</html>
Y el de la página que llama a la cabecera:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<!--#Include File="Index.asp"-->
</body>
</html>
La dinámica es la que ya he posteado en mi mensaje anterior...espero puedan ayudarme. |