Hello.
Im looking for writing a simple text in the screen, all the time, to describe the panorama loaded.
How can I do it?
Thank you.
Simple text on screen...
-
-
This is possible through html or normal text, and the textfield plugin: https://krpano.com/plugins/textfield/
You add it like a normal hotspot. -
I'm calling the panorama on a external xml for every panorama.
I want to write a different text on screen to describe every panorama when I click on the hotspot of the next panorama. -
are you looking for somethig like this?
Insert this code in your external xml file
Code<data name="mytextl"> <p>This is a text sample</p> </data> <plugin name="info_text" url="add a path to textfield.swf" html="data:mytextl" css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }" keep="true" children="false" visible="false" width="400" height="300" backgroundcolor="0x000000" roundedge="5" shadow="1" borderwidth="0" glow="4" align="center" x="0" y="0" autosize="center" onloaded="action(show_info_text);" onclick="action(hide_info_text);"/>
You can modify the rectangle apparience.
Copy and paste the same code in other external xml and modify the "data name" content to display a different text. -
[quote='Tourvista',index.php?page=Thread&postID=3482#post3482]are you looking for somethig like this?
Insert this code in your external xml file
Code<data name="mytextl"> <p>This is a text sample</p> </data> <plugin name="info_text" url="add a path to textfield.swf" html="data:mytextl" css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }" keep="true" children="false" visible="false" width="400" height="300" backgroundcolor="0x000000" roundedge="5" shadow="1" borderwidth="0" glow="4" align="center" x="0" y="0" autosize="center" onloaded="action(show_info_text);" onclick="action(hide_info_text);"/>
You can modify the rectangle apparience.
Copy and paste the same code in other external xml and modify the "data name" content to display a different text.[/quotI dont get it can you enable your editor in your example
-
Sorry, it is not my example. It is Klaus' example.
Cheers
-
Klaus do you have an example folder that I can download for this link https://krpano.com/108beta/flash10_example.html
thanks
-
Klaus do you have an example folder that I can download for this link https://krpano.com/108beta/flash10_example.html
Hi,
currently not, but you could download the xml here:
https://krpano.com/108beta/flash10_example.xmlbest regards,
Klaus
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!