Sie sind nicht angemeldet.

  • »jeromebg« ist der Autor dieses Themas

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

1

Montag, 22. Oktober 2012, 12:58

Textfield on ipad displays only on reload ...

Hi, I have a strange behaviour with the textfield on Ipad :
I have a tour with severals panoramas each with their own xml file, when I load a new pano with "loadpano(pano2.xml, null, MERGE, BLEND(1));" everything works fine except the textfileds that are not displayed, if I reload this pano or another one with a textfield in it then it display allright, it looks that it's only on the first call of the textfield plugin that it doesn't works...
If I call directly the panorama with the textfield it works...

If you want to try go there with your ipad :

http://www.360images.fr/step/mobile.html

clic on this hotspot for example


the textfield isn't displayed :


if you go to another hotspot and come back it will work.


Now clear your cache and go directly to a pano with textfield in it :

http://www.360images.fr/step/mobile.html?xml=innenheim.xml

the textfield is displayed:


I really don't understand the problem, if someone has a clue ?

Thanx !

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Montag, 22. Oktober 2012, 17:04

I noticed this too. I spent half a day trying to come up with a solution.
On HTML5 if I have a textfied set to a data structure it will not load the first time you load the textfied. Every other time is fine. On my end, I have to reset safari/clear cache to see the bug.
What I did to fix it is set a DELAYEDCALL, onstart to RESET the textfield's html back to the element AGAIN.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

  • »jeromebg« ist der Autor dieses Themas

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

3

Montag, 22. Oktober 2012, 17:21

What's funny is in my case it works perfect on the first load if the panorama with textfield inside is called passing the xml file in the url, but it doesn't work on the first load (it works after) is I call this panorama with the loadpano function...

Bizarre bizarre...