Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/09/2009, 01:55
rafamadrile
 
Fecha de Ingreso: diciembre-2008
Mensajes: 84
Antigüedad: 15 años, 5 meses
Puntos: 0
abrir ventana centrada valido para seo

A ver si alguien es capaz de resolver esta duda...

supongamos una web

Código HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Prueba</title>
<script type="text/javascript">
function NewWindow(mypage,myname,w,h,scroll){
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings =
	'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
	win = window.open(mypage,myname,settings)
	if(win.window.focus){win.window.focus();}
}
</script>
</head>

<body>
<a href="javascript:NewWindow('otrapagina.html','name','500','400','1');">pincha aqui</a>
</body>
</html> 
El enlace no seria recorrido por google ya que esta en javascript....
¿Alguien sabe otra manera de conseguir el mismo efecto pero que sea recorrido por google?

Por anticipado, Muchas Gracias.