Sie sind nicht angemeldet.

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

1

Freitag, 18. Mai 2012, 17:01

space in textfield on ipad bug?

It seems that a space like   is not working in textfield..on ipad
is there a solution?
*confused*

Tuur *thumbsup*

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Samstag, 19. Mai 2012, 05:06

Check to see how it looks in safari dom inspector to get a more initimate view of whats going on. Otherwise, the old trick up same colored text as background color would work.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

3

Samstag, 19. Mai 2012, 12:22

He Sacha,

safari dom inspector? is that alt-cmd +i ??
i can not read the xml there..

http://virtualtuur.com/krpano/text/

here you can see, desktop works.. ipad error..

Tuur *thumbsup*

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

4

Samstag, 19. Mai 2012, 15:28

Developer tools, then use the inspector amd highlight the textfield on the screen. On the js version everything is html you can look at. This can be very helpful, when using textfield.

Though , you should fix the parse error on the xml.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

5

Samstag, 19. Mai 2012, 15:41

Zitat

Though , you should fix the parse error on the xml.


that is because i put somewhere   in the text..
without there is no parser error.


Tuur *thumbsup*

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

7

Mittwoch, 23. Mai 2012, 15:02

Hi,

it seems that the Flashplayer has a bug with   - it resolves   to the unicode character code 65440 (FFA0 hex) but correct would be 160 (00A0 hex)...

I will add an workaround in the textfield plugin that will automatically replace all 65440 codes with 160 in next release.

In HTML5 the problem is a different one - there the usage of '&' characters is limited, so it's not possible to define  .

But a solution is possible:

- use   instead of   - this works correct in Flash and HTML5
- put the data content inside <![CDATA[ and ]]> tags to avoid any xml parsing
- remove the surrounding <p> and </p> tags and also the p{...} in the css

e.g.
<data name="html_contact_txt"><![CDATA[
Just a test to see why a space is not working on ipad with &amp; nbsp ; so i put kr&#x00A0;pano in the other example..
]]></data>

<plugin name="info_contact_txt"
...
css="font-family:Verdana, Geneva, sans-serif;margin-left:10px;margin-right:10px;color:#FFFFFF;font-size:12px;"
html="data:html_contact_txt"
...
/>


best regards,
Klaus

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden