![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
08/09/2004, 04:36
|
![Avatar de KarlanKas](http://static.forosdelweb.com/customavatars/avatar11549_2.gif) | Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 1 mes Puntos: 61 | |
Pon esto en todas las páginas:
<script>
if(top.location.href=location.href){
location.replace("index.html?pagina="+location.hre f);
}
</script>
y en la página de frames pon:
<frameset rows="80,*" frameborder="NO" border="0" framespacing="0">
<frame src="1.html" name="topFrame" scrolling="NO" noresize >
<frame src="" name="mainFrame">
</frameset>
<script>if(location.href.indexOf("pagina=")!=-1){
top.frames[1].location.href=location.href.split("pagina=")[1];
}
</script>
Esto está hecho basándome en que la página de frames se llama index.html
A ver si funciona...
__________________ Cómo escribir
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia. |