Ver Mensaje Individual
  #2 (permalink)  
Antiguo 21/06/2004, 03:18
Avatar de PatomaS
PatomaS
Colaborador
 
Fecha de Ingreso: marzo-2004
Ubicación: En alguna otra parte
Mensajes: 4.656
Antigüedad: 20 años, 2 meses
Puntos: 63
Hola

Bueno, no hay problema esta función resuelve tu problema:


Código:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<script type="text/javascript">
	<!--
	function abrir_ventana(a,b,c,x,y) {
		var ventana = window.open(a+".htm", "pagina", "width="+b+", height="+c+", status=no, toolbars=no, menubar=no, scrollbars=no");
		ventana.moveTo(x,y);
	}
	//-->
	</script>
<title>algo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<p><a href="javascript:abrir_ventana('untitled-3',200,200,600,300)">clic</a></p>
</body>
</html>
Ahí te paso una página perfectamente válida en xhtml 1.0 estricto.

Esa función permite pasar los siguiente parámetros:
a = nombre de página (sin.htm)
b = ancho
c = alto
x = coordenada en x para la ventana
y = coordenada enyx para la ventana

Si quieres modificar más cosas de esa función, ya habrás visto como funciona.

Suerte

Felicidad
__________________
¡ hey, hou, hou, hey !