![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
19/02/2015, 23:53
|
| | Fecha de Ingreso: febrero-2015
Mensajes: 12
Antigüedad: 10 años Puntos: 0 | |
Respuesta: Propiedad window intente probar pero la segunda aun no me sale puse un modificador de texto y si escribe en el padre
pero no lo enfoca. Ayuda por favor. Gracias.
<html>
<head>
<title></title>
<script type="text/javascript" language="JavaScript">
var ventana = window.open("texto_de_secundaria_3.html" , "" , "width = 200 height = 500");
ventana.moveTo( 500 , 500 );
</script>
</head>
<body>
<button onClick="ventana.focus();"> mostrar texto secundaria 3</button>
</body>
</html>
<html>
<head>
<title></title>
<script type="text/javascript" language="JavaScript">
</script>
</head>
<body>
<button onClick="self.opener.focus();"> mostrar cambiar foco</button>
<button onClick="self.opener.document.write('<p> Escrito </p>');"> agregar texto </button>
</body>
</html> |