Textfield on ipad / iphone
-
-
-
no..
?
Meaning you couldn't try it? Or, meaning you did try it and it doesn't work? Or, meaning it works with Flash but not HTML5? Or, meaning I missed something?
I know that you can set the "html" of a textfield as a URL variable (like, pano=?some.xml?html=MYTEXT).
-
I tried what u suggested but that gives THE same problem.
Offcours we talk iPhone/pad here. On desktop these things are easyIs there à way?
I need It badly
Tuur -
I tried what u suggested but that gives THE same problem.
Offcours we talk iPhone/pad here. On desktop these things are easyIs there à way?
I need It badly
TuurHey Tuur:
Hmmm... Interesting. Testing on my site shows the same effect (or lack of ;-)). Also, on Sam Rohn's site I don't see any text on his panos, via HTML5. I'm pretty sure he's sending the text via the URL a la "pano=somePano&title=Some%%20Text", and it shows up fine in Flash.
I'll keep testing -- it may just be a limitation of krpano right now, rather than an HTML5-specific issue.
-
An option, which I have used in the past, is to write out your XML via PHP (or other, like ASP, etc). Either link to the PHP script directly, or leave your file as XML, use PHP to handle all incoming variables to write out good XML, and set up your server to allow the .xml file to be read as PHP. Upside to this is that it's way faster than krpano would be, parsing out those variables.
-
Yeah i know , but don't know any php..
i like to set a variable in the data or html.. but that is not possible..
It woud be great when somebody knows a way to set /get a variable for the i devices..
the option you put is pano / scene specific i think.. i like it when it's not..
Hope somebody get's it..
Tuur
-
Would you have a simple sample with a few variables to show how that would be done with PHP? Do you use a database? I know just enough PHP to be dangerous. I have made a few attempts but always get distracted before anything gets completed. ADD I guess.
-
-
using safari's user agent method to test with 1.0.8.14beta, i was able to reference the visibility property of a textfield instance.
'borderwidth', and hence 'bordercolor' did not seem to make a difference in html5 playback, but all the other attributes listed below took.i could live with using a textfield as simply formatted as this for some applications, but i could not get the text sow up anything the same when in flash (none of the div style settings carried over), which is why I ultimately had the textfield configured for 'html5' only. I would love to avoid having to make multiple textfields for the same content in order to properly display on a few different devices.
my questions are as follows:
- is it possible to get things as simple as font-color, -size and margins work reliably and identically across html5 and flash through one textfield instance?
- is visibility truly controllable for a textfield plugin, or am i just experiencing a side effect of using desktop Safari to test it?
- if the ability to control the textfield's visibility is a fluke in this case, what may be a suggested method to show/hide a textfield via user interactivity?Code
Display More<plugin name="txtONE" devices="html5" url="plugins/textfield.swf" html="[div style='font-size:14px;margin:10px;color:#FFFFFF;']textfield title[br][br]textfield line 1[br]line 2 of textfield here[/div]" backgroundcolor="0x333333" align="center" alpha="0.9" width="200" height="100" roundedge="10" shadow="2" borderwidth="2" bordercolor="0xEEEEEE" visible="false" onclick="set(visible,false);" /> <hotspot name="hs1_2" style="hotspot" keep="false" ath="0.24050546406995466" atv="17.912525442686455" zoom="false" onclick="set(plugin[txtONE].visible, true);" />
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!