
15/12/2003, 05:56
|
 | Moderador extraterrestre | | Fecha de Ingreso: diciembre-2001 Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 2 meses Puntos: 61 | |
Pon el código así : Código PHP: <html>
<head>
<title>Untitled</title>
</head>
<body>
<select name="pais"
onchange="if(this.selectedIndex==1){window.open('quepais.html','quepais','width=150,height=50,top='+(screen.height-50)/2+',left='+(screen.width-150)/2+'');}">Otro</option>
<option value="1">España</option>
<option value="2">Otro</option>
</select>
</body>
</html>
y luego haz una página llamada quepais.html con este códgo Código PHP: <html>
<head>
<title>Untitled</title>
</head>
<body style="font:normal 10px/15px verdana;background:navy;color:white;">
<form action="tralala.php" onsubmit="self.close()">
<table width="100%" height="100%">
<tr>
<td style="font:normal 10px/15px" valign="middle" align="center">
Indique que pais: <input style="border:solid 1px black;font:normal 10px/10px verdana;color:black" type="text" name="pais" id="pais">
</td>
</tr>
</table>
</form>
</body>
</html>
__________________ Cómo escribir
No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia. |