Ver Mensaje Individual
  #6 (permalink)  
Antiguo 26/05/2015, 06:56
Avatar de franctastic
franctastic
 
Fecha de Ingreso: enero-2006
Ubicación: barcelona
Mensajes: 22
Antigüedad: 18 años, 3 meses
Puntos: 0
Respuesta: al entrar en el dominio, que se abra un PDF automaticamente, sin home ni n

hola fede5426, gracias de nuevo. Te cuento el problema.

Cita:
Iniciado por fede5426 Ver Mensaje
Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2.  
  3.    <head>
  4.       <style>
  5.            *{
  6.               margin:0;
  7.               padding:0;
  8.            }
  9.  
  10.              html,body{
  11.              width:100%;
  12.              height:100%;
  13.            }
  14.       </style>
  15.    </head>
  16.    <body>
  17.        <embed src="PDF/projecte-catala-nou-nata.pdf" width="100%" height="100%" />
  18.    </body>
  19. </html>
lo que ocurre en algunos moviles o tablets (en iOS se abre correctamente) es que, al entrar en el dominio, no se abre directamente el PDF y da error.
Si pones la direccion entera del PDF si que va, pero directamente al abrir la web da error.

es decir:
- si entras en www.projecte-catala-nou-nata.com desde un ordenador, con Chrome o Firefox, no problem, se abre el PDF.

- si lo haces desde un iOS, no problem, se abre el PDF.

- si lo haces desde otro termina, un samsung por ejemplo, tanto tablet como smartphone, da error, te adjunto capturas en el link al GoogleDrive
[URL="https://drive.google.com/folderview?id=0B4a0f0JJW3LYfk0wdkt5REJKSDd1X2tNMnp teFJNTUx3Y29GaUNLSzN1TThHdDFBVllrZUU&usp=sharing"]https://drive.google.com/folderview?id=0B4a0f0JJW3LYfk0wdkt5REJKSDd1X2tNMnp teFJNTUx3Y29GaUNLSzN1TThHdDFBVllrZUU&usp=sharing[/URL]

- si entran con la url entera, donde esta el PDF, si se puede ver en todos los dispositivos http://www.projecte-catala-nou-nata.com/PDF/projecte-catala-nou-nata-red.pdf

me puedes volver a aconsejar?

GRACIAS!!!

salut!

Última edición por franctastic; 26/05/2015 a las 07:02