Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/08/2004, 10:32
Avatar de Reynier
Reynier
 
Fecha de Ingreso: noviembre-2002
Ubicación: Por ahí en algún sitio
Mensajes: 1.844
Antigüedad: 21 años, 5 meses
Puntos: 1
Problemas con FRAMES

La cosa es que estoy tratando de hacer lo mismo que hace Hotmail y es que obliga a los usuarios a navegar bajo un frame donde en la parte superior está su Logo. Bueno para ello he hecho esto:
Código PHP:
<html>
<
head>
<
title>Untitled Document</title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</
head>

<
frameset rows="142,*" cols="*" framespacing="0" frameborder="NO" border="0">
  <
frame src="bannertop.htm" name="topFrame" scrolling="NO" noresize>
  <
frame src="pagina.htm" name="mainFrame">
</
frameset>
<
body>
</
body>
</
html
esta es mi pagina navigation.php. Entonces están las páginas bannertop.htm que es esta:
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body leftmargin="5" topmargin="2" rightmargin="5" bottommargin="2">
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" class="table">
  <tr>
    <td colspan="2" align='center' class='td'><a href="index.php<? echo $sid?>"><img src="images/logo.gif" alt="Portal de los Joven Club de Computaci&oacute;n y Electr&oacute;nica de Granma" width="765" height="102" border="0"></a></td>
  </tr>
  <tr>
    <td colspan="2" align='center' class='td date font'><hr color="#B4CFE8" size="1" noshade></td>
  </tr>
  <tr>
    <td width="33%" class='td font padding'></td>
    <td width="67%" align='right' class='td date padding font'><? echo $fecha?></td>
  </tr>
</table>
</body>
</html>
y pagina.htm que es esta:
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"
>
<
html>
<
head>
<
title>Untitled Document</title>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</
head>

<
body>
fdgdfdgdfg
</body>
</
html
pero cuando trato de acceder a la pagina navigation.php se me cierra el navegador, sabe alguien la razón de este problema o alguien antes ya ha hecho lo que yo trato de hacer?
Ayuda please !!!!
__________________
Ing. Reynier Pérez Mira