Hello Guys,
I am very new with KRPano, i am trying to show tooltips just below of any hovering hotspot in VR mode so that tooltips do not display on current mouse position. As crosshair is not considered as mouse here.
Please help me how can i do it ????????
My code is here :-
<style name="skin_tooltips"
onover.mouse="if(webvr.isenabled,copy(layer[skin_tooltip].html, tooltip);
set(layer[skin_tooltip].visible, true);
tween(layer[skin_tooltip].alpha, 1.0, 0.1);
asyncloop(hovering, copy(layer[skin_tooltip].x,mouse.stagex); copy(layer[skin_tooltip].y,mouse.stagey); );)"
onout.mouse="if(webvr.isenabled,tween(layer[skin_tooltip].alpha, 0.0, 0.1, default, set(layer[skin_tooltip].visible,false), copy(layer[skin_tooltip].x,mouse.stagex); copy(layer[skin_tooltip].y,mouse.stagey); );)"
/>
i want to replace mouse.stagex with hotspot[vr_cursor].ath and mouse.stagey with hotspot[vr_cursor].atv .
or
replace mouse.stagex with hotspot[hovered hotspot].ath and mouse.stagey with hotspot[hovered hotspot].atv .
Thanks
Jaswant