Sie sind nicht angemeldet.

21

Samstag, 20. August 2016, 19:12

sorry, but no, that goes too far :)

read the documentation: http://krpano.com/docu/
study the example: http://krpano.com/examples/usage/#tooltips
and search the forum for similar questions.

if you dont want to learn scripting, you can use panotour: http://www.kolor.com/panotour/
"Panotour gives you access to an amazing world of creation, without programming knowledge required."

best, index

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »indexofrefraction« (20. August 2016, 19:54)


22

Mittwoch, 12. Juli 2017, 06:59

HI All,

I get Klaus add_all_the_time_tooltip example code and paste on my xml,though it render well in html5,but it cant work in flashplayer.I try it in krpano 1.19-pr8 and pr10,flash player is "Win 26.0.0.131 Activex",are there any solution for it? Thanks a lots.

Quellcode

1
<action name="add_all_the_time_tooltip">    txtadd(tooltipname, 'tooltip_', get(name));    addplugin(get(tooltipname));    txtadd(plugin[get(tooltipname)].parent, 'hotspot[', get(name), ']');    set(plugin[get(tooltipname)].url,'%SWFPATH%/plugins/textfield.swf');    set(plugin[get(tooltipname)].align,top);    set(plugin[get(tooltipname)].edge,bottom);    set(plugin[get(tooltipname)].x,0);    set(plugin[get(tooltipname)].y,0);    set(plugin[get(tooltipname)].width,200);    set(plugin[get(tooltipname)].autoheight,true);    set(plugin[get(tooltipname)].background,false);    set(plugin[get(tooltipname)].border,false);    set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:16px;');    set(plugin[get(tooltipname)].textshadow,1);    set(plugin[get(tooltipname)].textshadowrange,6.0);    set(plugin[get(tooltipname)].textshadowangle,90);    copy(plugin[get(tooltipname)].html,scene[get(linkedscene)].title);    set(plugin[get(tooltipname)].enabled,false);</action>

joschii

Anfänger

Beiträge: 25

Wohnort: Austria

Beruf: VR

  • Nachricht senden

23

Montag, 3. August 2020, 17:31

Hotspot Name Tag Label Text Plugin

hi. i made a plugin that puts the hotspot's-name under every hotspot as a textfield automatically.
like the tooltip is visible always an clickable if you want to.
textfield can be edited of course.
simple integration.
works also in VR and smartphone, or touch devices.
DEMO_TOUR_EXAMPLE
would that help you? or do you need something else?

stefkouf

Anfänger

Beiträge: 1

Wohnort: GREECE

Beruf: WEB DESIGN

  • Nachricht senden

24

Samstag, 18. Dezember 2021, 08:09

skin_hotspotstyle
Hi,
here a way to add such tooltips automatically - replace the current 'skin_hotspotstyle' code in the vtourskin.xml with this one:
Here the onloaded event was replaced and an action added which creates and adds new textfields for each hotspot:
Source code




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

txtadd(tooltipname, 'tooltip_', get(name));
addplugin(get(tooltipname));
txtadd(plugin[get(tooltipname)].parent, 'hotspot[', get(name), ']');
set(plugin[get(tooltipname)].url,'%SWFPATH%/plugins/textfield.swf');
set(plugin[get(tooltipname)].align,top);
set(plugin[get(tooltipname)].edge,bottom);
set(plugin[get(tooltipname)].x,0);
set(plugin[get(tooltipname)].y,0);
set(plugin[get(tooltipname)].width,200);
set(plugin[get(tooltipname)].autoheight,true);
set(plugin[get(tooltipname)].background,false);
set(plugin[get(tooltipname)].border,false);
set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:16px;');
set(plugin[get(tooltipname)].textshadow,1);
set(plugin[get(tooltipname)].textshadowrange,6.0);
set(plugin[get(tooltipname)].textshadowangle,90);
copy(plugin[get(tooltipname)].html,scene[get(linkedscene)].title);
set(plugin[get(tooltipname)].enabled,false);
</action>
Best regards,
Klaus
Hi Klaus and thank you for beautiful software !!
I am trying really hard to get to know how all things work. Please if i can ask !
I used the code above and it shows the hotspots name of the tooltips perfectly in my computer, no problem there.
When i upload all files in my website ( see url below) the titles disappear.
Please can you help me with that ? Below is the page
https://skiathosbasketball.gr/pano/tour.html
Thank you
Stef