Ver Mensaje Individual
  #5 (permalink)  
Antiguo 26/10/2013, 09:10
Avatar de Germano6
Germano6
 
Fecha de Ingreso: mayo-2013
Mensajes: 61
Antigüedad: 11 años
Puntos: 0
Sonrisa Respuesta: Automatizar forma de apertura de archivos PDF

Vale ya lo solucioné. Por si alguien quiere saber cómo lo dejo aquí:
Código Javascript:
Ver original
  1. function pdfs(url) { newwindow=window.open(url,'name','height=700,width=900,top=95,left=95');
  2.     if (window.focus) {newwindow.focus()}
  3.     return false; }
y en cada enlace
Código HTML:
Ver original
  1. <a onClick="pdfs('archivo.pdf')">Ver archivo</a>