Ver Mensaje Individual
  #9 (permalink)  
Antiguo 02/03/2007, 10:52
Avatar de Carlitos
Carlitos
Usuario no validado
 
Fecha de Ingreso: mayo-2001
Ubicación: Zaragoza
Mensajes: 1.304
Antigüedad: 23 años, 9 meses
Puntos: 25
Re: Cada página dentro de su frame y nunca por separado...

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "ENLACE BORRADO">
<html xmlns="ENLACE BORRADO">
<head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="shortcut icon" href="favicon.ico" />
<style type="text/css">
<!--
body {
background-image: url(images/fondo.gif);
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.Estilo5 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color: #003366;
font-weight: bold;
height: 12px;
border: 0px none #FFFFFF;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>

<link href="image.css" rel="stylesheet" type="text/css" />


</head>
<body bgcolor="#FFFFFF" onload="MM_preloadImages('images/ucm.gif','images/madrimasd.gif','images/venomyc.gif','images/medreonet.gif','images/docencia2.gif','images/euus.gif')">
<table width="841" border="0" align="center" cellpadding="0" cellspacing="0" id="Tabla_01">
<tr>
<td colspan="7">
<img id="index_01" src="images/index_01.gif" width="840" height="20" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="20" alt="" /></td>
</tr>
<tr>
<td rowspan="28">
<img id="index_02" src="images/index_02.gif" width="20" height="575" alt="" /></td>
<td colspan="5">
<img id="title" src="images/title.gif" width="800" height="100" alt="" /></td>
<td rowspan="28">
<img src="images/index_04.gif" alt="" name="index_04" width="20" height="575" border="0" id="index_04" /></td>
<td>
<img src="images/espacio.gif" width="1" height="100" alt="" /></td>
</tr>
<tr>
<td rowspan="2">
<img id="index_05" src="images/index_05.gif" width="100" height="10" alt="" /></td>
<td colspan="3">
<img id="index_06" src="images/index_06.gif" width="580" height="4" alt="" /></td>
<td rowspan="3">
<img src="images/index_07.gif" alt="" name="index_07" width="120" height="25" border="0" usemap="#index_07Map" id="index_07" /></td>
<td>
<img src="images/espacio.gif" width="1" height="4" alt="" /></td>
</tr>
<tr>
<td rowspan="24">
<img id="index_08" src="images/index_08.gif" width="3" height="381" alt="" /></td>
<td rowspan="23">


<script>
var cad = new String(document.location);
document.write('<iframe name="ventana" width="574" height="377" scrolling="no" frameborder="0" id="ventana" src=')
if (cad.indexOf("?") != -1)
{
document.write(cad.substring(cad.indexOf("?")+1,ca d.length))
}
else
{
document.write('"home.html"')
}
document.write("></iframe>")
</script>


</td>
<td rowspan="24">
<img id="index_10" src="images/index_10.gif" width="3" height="381" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="6" alt="" /></td>
</tr>
<tr>
<td rowspan="2"></td>
<td>
<img src="images/espacio.gif" width="1" height="15" alt="" /></td>
</tr>
<tr>
<td rowspan="3"></td>
<td>
<img src="images/espacio.gif" width="1" height="10" alt="" /></td>
</tr>
<tr>
<td>
<img id="lab0" src="images/lab0.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="25" alt="" /></td>
</tr>
<tr>
<td>
<img id="invest0" src="images/invest0.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="25" alt="" /></td>
</tr>
<tr>
<td><a href="cursosonline.html" target="ventana" onmouseover="MM_swapImage('Image68','','images/docencia2.gif',1)" onmouseout="MM_swapImgRestore()"><img src="images/doc0.gif" width="100" height="25" border="0" /></a></td>
<td rowspan="2"></td>
<td>
<img src="images/espacio.gif" width="1" height="25" alt="" /></td>
</tr>
<tr>
<td rowspan="2">
<img id="serv0" src="images/serv0.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="14" alt="" /></td>
</tr>
<tr>
<td rowspan="3"></td>
<td>
<img src="images/espacio.gif" width="1" height="11" alt="" /></td>
</tr>
<tr>
<td>
<img id="act0" src="images/act0.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="25" alt="" /></td>
</tr>
<tr>
<td rowspan="2"></td>
<td>
<img src="images/espacio.gif" width="1" height="4" alt="" /></td>
</tr>
<tr>
<td rowspan="2"></td>
<td>
<img src="images/espacio.gif" width="1" height="21" alt="" /></td>
</tr>
<tr>
<td rowspan="2">
<img id="index_22" src="images/index_22.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="19" alt="" /></td>
</tr>
<tr>
<td rowspan="3"></td>
<td>
<img src="images/espacio.gif" width="1" height="6" alt="" /></td>
</tr>
<tr>
<td>
<img id="index_24" src="images/index_24.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="25" alt="" /></td>
</tr>
<tr>
<td rowspan="2">
<img id="index_25" src="images/index_25.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="9" alt="" /></td>
</tr>
<tr>
<td rowspan="2">
<a href="med-reo-net.html" target="ventana" onmouseover="MM_swapImage('Image67','','images/medreonet.gif',1)" onmouseout="MM_swapImgRestore()"><img src="images/medreonet1.gif" alt="MED REO NET" name="Image67" width="120" height="40" border="0" id="Image67" /></a><a href="rrhh1.html" target="ventana"></a></td>
<td>
<img src="images/espacio.gif" width="1" height="16" alt="" /></td>
</tr>
<tr>
<td rowspan="2">
<img id="index_27" src="images/index_27.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="24" alt="" /></td>
</tr>
<tr>
<td rowspan="3" bgcolor="#FFFFFF">
<a href="EUUS-SAFEFOOD.html" target="ventana" onmouseover="MM_swapImage('Image68','','images/euus.gif',1)" onmouseout="MM_swapImgRestore()"><img src="images/euus1.gif" alt="EUUS-SAFEFOOD" name="Image68" width="120" height="40" border="0" id="Image68" /></a><a href="rrhh2.html" target="ventana"></a></td>
<td>
<img src="images/espacio.gif" width="1" height="1" alt="" /></td>
</tr>
<tr>
<td>
<img id="index_29" src="images/index_29.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="25" alt="" /></td>
</tr>
<tr>
<td rowspan="2">
<img id="index_30" src="images/index_30.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="14" alt="" /></td>
</tr>
<tr>
<td rowspan="4">
<img id="index1_16032" src="images/index1_16-32.gif" width="120" height="61" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="11" alt="" /></td>
</tr>
<tr>
<td>
<img id="index_32" src="images/index_32.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="25" alt="" /></td>
</tr>
<tr>
<td rowspan="2">
<img id="index_33" src="images/index_33.gif" width="100" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="21" alt="" /></td>
</tr>
<tr>
<td>
<img id="index_34" src="images/index_34.gif" width="574" height="4" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="4" alt="" /></td>
</tr>
<tr>
<td>
<img id="index_35" src="images/index_35.gif" width="100" height="65" alt="" /></td>
<td colspan="3" bgcolor="#FFFFFF"><p align="center" class="Estilo5">&nbsp;</p>
</td>
<td>
<img id="index1_36" src="images/index1_36.gif" width="120" height="65" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="65" alt="" /></td>
</tr>
<tr>
<td colspan="5">
<img id="index_38" src="images/index_38.gif" width="800" height="25" alt="" /></td>
<td>
<img src="images/espacio.gif" width="1" height="25" alt="" /></td>
</tr>
</table>
<p align="center"><a href="ENLACE BORRADO" target="_blank"><img src="images/hosting.gif" alt="Universidad Complutense" width="300" height="50" border="0" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','Images/home2.gif',0)"></a>

</body>
</html>




Así te debería funcionar. Fíjate que no habías sustituido lo de la etiqueta IFRAME por el código. lo que habías hecho, es poner dicho código en el HEAD

Básicamente, este script hace lo mismo que el que has encontrado tú.

Pero bueno. Si ya lo has resuelto... pues nada. A funcionar.

Un saludo.