JavaScript - problema con ventana

 
Vista:

problema con ventana

Publicado por kabus (17 intervenciones) el 02/01/2004 11:45:47

¡Hola!

¿Alguien me podría decir donde esta el probl. de este script que no lo puedo abrir?

La ventana de errores me dice que el fallo esta en la linea 11 y en el caracter 2. pero inútil ,no pudé encontrar el fallo .

Gracias, Kabus.
<html>
<head>
<title>Untitled</title>
<script language="JavaScript">
function bazz()
{
var agahy;
var propps=width='200',height='150';
var palisy= window.open(' ',' ',propps);
agahy += '<html><head><title></title>';
agahy +='</head>';
agahy += '<body><font>vamos bien parecer</font>';
agahy += '</body></html>';
palisy.document.write(agahy);
}
</script>
</head>
<body>
<form name="daerr" id="daerr">
<input type="button" value="pulsa"onClick="bazz();">
</form>
</body>
</html>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:problema con ventana

Publicado por Vulgibagus (46 intervenciones) el 03/01/2004 03:47:20
<html>
<head>
<title>Salu2</title>
<script language=\"JavaScript\">
<!--
function bazz()
{
var agahy;
var propps = \"width=200, height=150\";
var palisy = window.open(null, null, propps);
agahy = \'<html><head><title>Que tengas un feliz año 2004</title>\';
agahy += \'</head>\';
agahy += \'<body><font>SaLu2 Vulgibagus</font>\';
agahy += \'</body></html>\';
palisy.document.write(agahy);
}
//-->
</script>
</head>
<body>
<form name=\"daerr\" id=\"daerr\">
<input type=\"button\" value=\"pulsa\"onClick=\"bazz();\">
</form>
</body>
</html>
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:problema con ventana

Publicado por kabus (17 intervenciones) el 03/01/2004 12:18:16
¡Hola! Vulgibagus

Ya sabia que algo me sobraba, "+".

Gracias por su interes.

U n saludo Kabus
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar