You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, September 16th 2009, 3:18pm

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

michel

Professional

Posts: 1,153

Location: ANDORRA

Occupation: TV

  • Send private message

2

Friday, September 18th 2009, 4:30am

Hi rsalanova,

Quoted

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:

Source code

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/

Quoted

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:

Source code

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

Friday, September 18th 2009, 1:46pm

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

Thank you again for your help

Similar threads