Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/05/2008, 01:09
chari
 
Fecha de Ingreso: diciembre-2002
Mensajes: 130
Antigüedad: 21 años, 4 meses
Puntos: 0
Funciona en Mozilla Firefox y no en Internet Explorer

Hola, estoy intentando hacer una aplicación de horas en php donde hay una selección del día a través de un calendario, en mozilla me lo abre perfectamente pero en IE se me queda la ventana en blanco y no me carga nada. He estado mirando y no veo que puede estar afectándole.

Aquí os pongo los códigos haber si notáis algo raro. Ayudarme por favor estoy . Muchas gracias.

horas2.php

<?
include ("../calendario/calendario/calendario.php");
include_once ("../auth.php");
include_once ("../authconfig.php");
include_once ("../check.php");
include_once ("apunte.php");
include_once ("../nivel.php"); // 080414
?>
<script language="JavaScript">

function cerrar() {
var ventana = window.self;
ventana.opener = window.self;
ventana.close();
}
</script>
<html>
<head>
<title>Introducci&oacute;n de horas</title>
<link href="../estilo.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
-->
</style>
</head>

<body>
<table width="617" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form name="fcalen" method="post" action="insertar.php">
<table width="578" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#000000">
<tr>
<td width="250" height="28" bgcolor="#D6E1F8"><span class="Estilo4">FECHA</span></td>
<td width="318" bgcolor="#DBDBDB">
<?
escribe_formulario_fecha_vacio("fecha1","fcalen",$ fechagraba);
?>
</td>
</tr>
<tr>
<td height="28" bgcolor="#D6E1F8"><span class="Estilo4">PROYECTO</span></td>
<td bgcolor="#DBDBDB"><select name="proyecto" size="1">
<?

if ($_GET['opcion'] == "si")
{
$listanombre = mysql_query("select * from PROYECTOS WHERE VIGENTE = '-1' order by NOMBRE ASC ");
}
else
{
$listanombre = mysql_query("select * from PROYECTOS order by NOMBRE ASC ");
}

$row = mysql_fetch_array($listanombre);
while($row){
$nomlista = $row["CODIGO"];
print "<option value=\"$nomlista\">" . $row["NOMBRE"] . "</option>";
$row = mysql_fetch_array($listanombre);
}
?>
</select></td>
</tr>
<tr>
<td height="28" bgcolor="#D6E1F8"><span class="Estilo4">HORAS</span></td>
<td bgcolor="#DBDBDB"><input name="horas" type="text" id="horas"></td>
</tr>
<tr>
<td height="28" bgcolor="#D6E1F8"><span class="Estilo4">COMENTARIO</span></td>
<td bgcolor="#DBDBDB"><input name="comentario" type="text" id="comentario" size="50">
</td>
</tr>
<tr>
<td height="57">
<p align="center"><b onClick="window.open('horas.php','','width=600,hei ght=225,scrollbars=yes')"><a href="#"><img src="../img/horas_x_dia.gif" alt="Horas" width="200" height="40" hspace="10" border="0"></a></b><b onClick="window.open('horas3.php','','width=725,he ight=225,scrollbars=yes')"><a href="#"><br>
<img src="../img/horas_x_apunte.gif" alt="Horas Introducidas" width="200" height="40" hspace="10" border="0"></a><a href="javascript:close()"><br>
</a></b></p></td>
<td valign="middle" bgcolor="#FFFFFF"><div align="center">
<!-- <input type="Submit" name="enviar" value="Guardar"> -->
<a href="javascript:document.fcalen.submit()"><img src="../img/enviar.gif" width="120" height="40" border="0"></a> <a href="javascript:document.fcalen.reset()"> <img src="../img/borrar.gif" width="120" height="40" border="0"></a> <br>
<a href="javascript:close()"><img src="../img/boton_cerrar.gif" alt="Cerrar ventana" width="100" height="40" hspace="5" border="0" align="absmiddle"></a></div>
</tr>
</table>
</form></td>
</tr>
</table>
<p>&nbsp;</p>
</body>
</html>