tooltips hotspots to display text all time

  • sorry, but no, that goes too far :)

    read the documentation: https://krpano.com/docu/
    study the example: https://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

  • 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.

    Code
    <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>
  • 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?

  • 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:

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!