You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, February 26th 2017, 7:11pm

showtext plugin does not show the tooltip, there is a reason?

This code, text should be displayed in Hebrew in the red box, but does not show
this is link to working tour

krpano.call("addhotspot(hs);");
krpano.set("hotspot[hs].url", "./indexdata/spots/hotspot_info_user_defaultpoint0.png");
// krpano.set("hotspot[hs].x", 100);
// krpano.set("hotspot[hs].y", 100);
krpano.set("hotspot[hs].width", 30);
krpano.set("hotspot[hs].height", 30);
krpano.set("hotspot[hs].ath",35);
krpano.set("hotspot[hs].atv",10);
krpano.set("hotspot[hs].scale",1);
krpano.set("hotspot[hs].zoom",false);
krpano.set("hotspot[hs].keep",true);
// krpano.set("hotspot[hs].parent", "layer[button]");

// krpano.set("hotspot[hs].align", "bottom");
krpano.set("hotspot[hs].fillcolor", 0xFF0000);
krpano.set("hotspot[hs].fillalpha", 1);
krpano.set("hotspot[hs].alpha", 1);
krpano.set("hotspot[hs].visible", true);
krpano.set("hotspot[hs].zorder", 3);
krpano.set("hotspot[hs].zorder2", 1);
krpano.set("hotspot[hs].devices", "html5");
krpano.set("hotspot[hs].html", "hio hotspot");
$log.log("hs button: %o", krpano.get('hotspot[hs]'));

krpano.call("addlayer(button);");
// krpano.set("layer[button].url", "./indexdata/spots/hotspot_info_user_defaultpoint0.png");
krpano.set("layer[button].style", "htspfield");
krpano.set("layer[button].type", 'container');
// krpano.set("layer[button].x", 100);
// krpano.set("layer[button].y", 100);
krpano.set("layer[button].ath", 35);
krpano.set("layer[button].atv", 10);
krpano.set("layer[button].rotate", 45.0);
krpano.set("layer[button].width", 60);
krpano.set("layer[button].height", 60);
krpano.set("layer[button].align", "center");
krpano.set("layer[button].bgcolor", "0xAC202D");
krpano.set("layer[button].color", "0x000000");
krpano.set("layer[button].bgalpha", 0.7);
krpano.set("layer[button].alpha", 1);
krpano.set("layer[button].html", "hio layer");
krpano.set("layer[button].keep", true);
krpano.set("layer[button].visible", true);
krpano.set("layer[button].zorder", 1);
krpano.set("layer[button].zorder2", 1);
krpano.set("layer[button].parent", "hotspot[hs]");
krpano.set("hotspot[hs].onover",
'tween(layer[button].rotate,0,0.5,, ' +
'tween(layer[button].width,200,0.5,, ' +
'tween(layer[button].height,200,0.5,, ' +
'tween(layer[button].html, "hello"););););');
krpano.set("hotspot[hs].onout",
'tween(layer[button].width,60,0.5,, ' +
'tween(layer[button].height,60,0.5,, ' +
'tween(layer[button].rotate,45,0.5,easeInCubic);););');
$log.log("layer button: %o", krpano.get('layer[button]'));

krpano.call("showtext(Hio DEFAULT);");