From Klaus:
QuoteImproved: Better Textfield Plugin Support:
- remove the too big margin on <p> elements
- avoid automatic scaling when using 0.*em font sizes
- correct "roundedge" scaling on iPhone/iPad
- improved autosize calculation
- more accurate font size scaling
- internal escaping/unescaping bugfix
QuoteTextfield plugin - using the "data:dataname" syntax to load the content
from <data> elements is now possible for the "htmlcode" and
"csscode" settings (like in Flash).
I've tried using the data:dataname on html5 and they don't act the same as flash. Here is the code
<plugin name="test_html5" devices="html5" url="%SWFPATH%/plugins/textfield.swf" keep="true"
zorder="10001"
align="center" width="400" height="325" x="0" y="0" visible="true"
html="data:test"
css="p{color:#FFFFFF; font-family:Arial; font-size:12; margin-left:5; margin-right:5; text-align:justify; }"
backgroundalpha=".2" backgroundcolor="0x000000" roundedge="5" borderwidth="0" glow="4" glowcolor="0xFFFFFF"
handcursor="true"
autosize="none"
selectable="false"
onloaded=""
onover=""
onout=""
onhover="showtext(Click to Close, csmall);"
onclick="action(close,intro); action(nomask,mask); set(hotspot[pop_contact].visible,true);"
/>
<data name="test">
<a>
<img src=""/>
</a>
<br/>
<p align="left">
This is a test, This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,<br/>
<br/>
This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,<br/>
<br/>
This is a test,This is a test,This is a test,This is a test,<br/>
This is a test,This is a test,This is a test,This is a test,<br/>
This is a test,<br/>
This is a test,<br/>
<br/>
This is a test,<br/>
This is a test,<br/>
This is a test,<br/>
<br/>
This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,<br/>
This is a test,This is a test,This is a test,This is a test,This is a test,This is a test,<br/>
<br/>
</p>
</data>
Display More
Attached is the result. I must be missing something because the backgroundalpha doesn't work. It is set to .2 and the back is completely black and forget adding an image. All it does is start the text below the image.
I could really use some additional help as this has been an ongoing complaint from my clients and it is very difficult to have to create a very complex solution to achieve a good looking textbox in html5.
Thanks,
Robert