Sie sind nicht angemeldet.

1

Mittwoch, 16. September 2009, 15:18

Using text as hotspot or introducing text in the panorama

Hi, anyone knows if is posible to use text as hotspot without use an image? Or use text to anotate the panorama image using the text styles?

Thank you in advance for your help

Ramon

2

Freitag, 18. September 2009, 04:30

Hi rsalanova,

Zitat

Hi, anyone knows if is posible to use text as hotspot without use an image?
Yes, you can use the textfield plugin as hotspot ...
Try this:

Quellcode

1
2
3
4
5
6
7
8
<hotspot name="textfieldhotspot" url="%SWFPATH%/plugins/textfield.swf"
width="100" height="20"
ath="0" atv="0"
html="[p]Helo[/p]"
css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:14; margin-left:5; margin-right:5; text-align:center; }"
backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="4" glowcolor="0xFFFFFF"
autosize="center"
/>

More info about hotspot attributes http://krpano.com/docu/xml/#hotspot
More info about textfield attributes http://krpano.com/plugins/textfield/

Zitat

Or use text to anotate the panorama image using the text styles?
Have a look at the scene example that come with krpano download...
You will see this action:

Quellcode

1
showtext('[b][i]scene 1[/i][/b]', infostyle);

More info about showtext action http://krpano.com/docu/actions/#showtext

Hope this can help. ;-)

Salut.

3

Freitag, 18. September 2009, 13:46

Thank you very much Michel, the code is a perfect example of text as hotspot.

Thank you again for your help

Ähnliche Themen