Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/08/2007, 05:46
Avatar de SILVI85
SILVI85
 
Fecha de Ingreso: julio-2007
Mensajes: 109
Antigüedad: 16 años, 9 meses
Puntos: 1
Caricatos una pregunta para ti

Encontré tu página web: http://www.caricatos.net de casualidad buscando información en la red sobre como añadir un calendario a un botón emergente. Tal y como cuentas aquí: http://www.caricatos.net/fechas/index.php

Pero no me funciona,yo creo debido a que no tengo popup.html,me lo podrias decir que contiene?

Tengo el archivo principal:

Código HTML:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script type="text/javascript" >
<!--
_hoy = new Date();
document.writeln(calendar(_hoy.getMonth(), _hoy.getFullYear(), "calendario1", "seleccionaFecha"));
//-->

</script>

</head><body><form name="ej" action="" method="get" >
<fieldset style="text-align: center; margin: auto; width: 100%"><legend style="text-align: center; margin: auto;">ejemplo</legend>

<fieldset style="width: 45%; float: left"><legend>entrada</legend>
<input type="text" name="entrada" >
<button type="button" onclick="window.open('popup.html?destino=ej.entrada', '_blank', 'width=277,height=202')">
rellenar entrada
</button>
</fieldset>
<fieldset ><legend>salida</legend>
<input type="text" name="salida" >
<button type="button" onclick="window.open('popup.html?destino=ej.salida', '_blank', 'width=277,height=202')">
rellenar salida
</button>
</fieldset>
</fieldset>
</form>
</body>
</html> 

calendario.css y calendario.jss tal y como lo tienes en tu página.

Es eso lo que me falla? Gracias y Saludos