![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
16/07/2002, 17:02
|
| | Fecha de Ingreso: noviembre-2001 Ubicación: Quito - Ecuador
Mensajes: 87
Antigüedad: 23 años, 3 meses Puntos: 0 | |
Re: Detectar la falta de frame y ponerlo hola yo utilizo esto y va bien.
<SCRIPT LANGUAGE="JavaScript">
function cargar()
{
if(parent.frames.length != 0)
{
}
else {
parent.frames.location.href = "<?php echo"tupagina.htm?variable=$variable"; ?>";
}
}
</SCRIPT>
y en el body se llama a la funcion cargar, debe quedar asi:
<body bgcolor="#FFFFFF" text="#000000" onLoad="cargar()">
espero sea de ayuda EduH |