It seems that a space like is not working in textfield..on ipad
is there a solution?
Tuur
It seems that a space like is not working in textfield..on ipad
is there a solution?
Tuur
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.
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
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.
QuoteThough , 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
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 & nbsp ; so i put kr 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
GREAT!!
Thanx Klaus!
Tuur
Don’t have an account yet? Register yourself now and be a part of our community!