Hello there,
How do you get quotes and such to work within the "html=" field of the textfield plugin? I know that "[" and "]" replace "<" and ">", but what replaces quotation marks?
I'm trying to implement some text at the top of my tour that changes depending on the panorama being viewed. For example, if I go to "City Hall" then the text changes from "Virtual Tour" to "City Hall." I've gotten the text to change just fine, but now I want to customize it - make the font white, larger, etc. Whenever I try to add a font color in the "html=" area of the plugin, I get an error "element is malformed". Note: I'm not using the data attribute because I have an action changing the html within the plugin (see below), so the XML limitations are going to apply one way or another.
Here's the relevant data (I spaced the brackets to make them show up):
<plugin name="title" url="%SWFPATH%/plugins/textfield.swf"
align="top center" edge="top" width="250" height="18" x="0" y="-1" children="false"
html="[ b ] Virtual Tour [ / b]"
background="false"
textglow="0"
textglowcolor="0xffffff"
textshadow="0"
autosize="center"
onclick=""
/>
<action name="loadcityhall">
action(s_cityhall);
set(plugin[title].html,[ b ] City Hall [ / b ]);
loadpano(cityhall.xml,null,KEEPALL,BLEND(2));set(krpano.view.fovmin,30);
wait(blend);oninterrupt(action(lookinterrupt));lookto(280,-5,120,smooth(50,25,100));
</action>