Folks, I love the whole krpano stuff although a beginner.
I am trying to get load text boxes containing text and an image using the textfield. When I add an image the text runs off the end of the textfield. Can't see what I am doing wrong. Any help would be really appreciated please.
This is the plugin code for the textfield
<plugin name="informationfield" url="%SWFPATH%/textfield.swf" visible="false" enabled="false" roundedge="15" borderwidth="0"
glow="4" align="center" background="true" children="true" y="0" x="0"
wordwrap="true" autosize="true" width="60%" height="prop"
glow="10"
glowcolor="#FF0000"
blur="10"
shadow="2"
background="true"
onloaded="tween(backgroundalpha,0.5,distance(0.3,0.2));"
textshadow=""
css="data:cssdata1"
/>
<data name="cssdata1">
.heading {
font-family: "Comic Sans MS", cursive;
font-size: 30%;
font-weight: bold;
color: #006300;
text-align: center;
}
.h2 {
font-family: "Comic Sans MS", cursive;
font-size:20%;
font-style: normal;
margin-left:35; margin-right:35;
text-align: center;
}
.paragraph {
font-family: "Comic Sans MS", cursive;
font-size: 20%;
font-style: normal;
margin-left:35; margin-right:35;
}
</data>
Then here is the code I use to load the textfield into the pano. It is here where I add the image follwoed by the text. The image displays correctly on the left wit the text wrapping around it. Howver the text then continues past the editfield bottom edge.
<hotspot name="spot0" onclick="set(plugin[informationfield].html,data:htmlTextRestHouse); action(openInformation);"
url="builddata/graphics/spots/spot0.png" onhover="showtext(click here to learn more about the Rest House);" ath="-141.178" atv="5.87368" width="prop" height="5%" html="data:htmldata1"/>
<data name="htmlTextRestHouse">
<span class="heading">The Rest House</span>
<br />
<img src="builddata/graphics/rest-house.png" />
<br />
<span class="paragraph">various text information
</span>
</data>
Many thanks for nay help.
Nigel