how to let the hotspot tooltip can jump scene?

  • I find some code from forum,to add a tooltip for hotspot.


    How to modify the code to click the tooltip can let scene jump ,like click hotspot icon?


    Many thanks.


    http://www.krpano.com/forum/wbb/inde…50929#post50929


    Edited 2 times, last by arielei (March 7, 2016 at 2:17 PM).

  • i try below code,but it doen't work.

    Code
    set(plugin[get(tooltipname)].enabled,true);
        txtadd(plugin[get(tooltipname)].onclick,'if(linkedscene, skin_hidetooltips(); tween(scale,0.25,0.5); tween(oy,-20,0.5); tween(alpha,0,0.5); looktohotspot(); loadscene(get(linkedscene),null,get(skin_settings.loadscene_flags),get(skin_settings.loadscene_blend)); skin_updatescroll(); );');

    Edited once, last by arielei (March 7, 2016 at 1:06 PM).

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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!