Sie sind nicht angemeldet.

1

Mittwoch, 17. August 2016, 09:09

text on a hotspots

Hi guys, i'm new here, and i'm very bad in programming, have 0 knowledge. this is a test tour i did, and i need to write room names on a hotpots on a doors.



http://www.nk-3d.de/360/vtour1/ can anybody help me with step by step instructions how to do this?


thank you very much in advance
Nodar

tsukada

Anfänger

Beiträge: 27

Wohnort: Tokyo, Japan

Beruf: Programmer

  • Nachricht senden

2

Montag, 22. August 2016, 07:25

You can do that, usign Textfield plugin.
http://krpano.com/plugins/textfield/

Just write after hotspot tag like:
<layer name="text" url="textfield.swf" parent="hotspot[spot1]" align="center" html="text on hotspot" />
The key is "parent" attribute that is pointing to hotspot on which text populates.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »tsukada« (29. August 2016, 03:38)


3

Freitag, 26. August 2016, 12:29

Hi

I have the code

Quellcode

1
2
<hotspot name="spot2" url="skin/point.png"  ath="-1.002" atv="-24.235" onhover="showtext(text on hotspot 2 ,textstyle);"  />
 <layer name="text2" url="plugins/textfield.swf" parent="spot2" align="center" html="text on hotspot 2" />


description do not follow the hotspot,the description remains center stage.
What am I doing wrong ?
I need to make descriptions to hotspots, appear on android.

tsukada

Anfänger

Beiträge: 27

Wohnort: Tokyo, Japan

Beruf: Programmer

  • Nachricht senden

4

Montag, 29. August 2016, 03:40

Sorry,

you need to add hotspot[] to the parent attribute.
In your case, parent="hotspot[spot2]".


I also edited my previous post.


Regards.

5

Dienstag, 1. September 2020, 16:49

Is there somewhere a simple tutorial to have an info hotspot where the user can click on and some text will be shown? Thanks

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

6

Mittwoch, 2. September 2020, 13:14

Hi,

many ways to Rome here..

EDIT:
i made an example some time ago for somebody.
Some options or methodes here..

https://www.virtualtuur.com/krpano/120/help/hotspot_popup/1/

xml: https://www.virtualtuur.com/krpano/120/h…opup/1/tour.xml

There are more ways of doing things though..

Hope it helps,
Tuur *thumbsup*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Tuur« (2. September 2020, 16:31)