Sie sind nicht angemeldet.

360boy

Fortgeschrittener

  • »360boy« ist der Autor dieses Themas

Beiträge: 249

Wohnort: Mexico City

Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Nachricht senden

1

Freitag, 22. Februar 2019, 17:03

Krpano div not centered at FB app!!

Hello there,

We've been recently facing this issue where a tour link loaded from FB app (and directed to it's own browser) is not centered on the navigation window, so a big part of the interface is hidden ruining the experience.

http://imagen360.com/krpano/riverlights.jpg

I remember seeing at this forum some javascript functionality to re-center the content area on browsing window first time that experience is loaded, any idea about this or an alternative solution?

Thank you!

Luis *thumbup*

2

Dienstag, 26. Februar 2019, 17:32

Hi,

that looks more like a (empty?) text-line was added in the html file before the pano div element...

and due the height=100% of the pano div element everything is moved down by that line...

Maybe the FB app is injecting some code that is causing that...?

Maybe try this as fix - use an absolute position for the pano div element:

Zitat

<div id="krpanoDIV" style="position:absolute;top:0;width:100%;height:100%;">


Best regards,
Klaus