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>
¿Alguien sabe otra manera de conseguir el mismo efecto pero que sea recorrido por google?
Por anticipado, Muchas Gracias.