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.
![]() |
Source code |
1 |
onover="spheretoscreen(hotspot[get(name)].ath,hotspot[get(name)].atv,layer[tag].x,layer[tag].y);" |
![]() |
Source code |
1 |
set(layer[tag].parent,hotspot[hs1])); |
![]() |
Source code |
1 2 3 4 5 6 |
<style name="infos" onhover="tag_call();"/> <action name="tag_call"> set(layer[tag].parent,get(hotspot[get(name)].name)); </action> |
![]() |
Source code |
1 2 3 |
<action name="tag_call"> txtadd(layer[tag].parent,"hotspot[",get(%1),"]"); </action> |
![]() |
Source code |
1 |
txtadd(layer[tag].parent,'hotspot[',get(name),']'); |
Location: Netherlands
Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
![]() |
Source code |
1 2 3 4 5 |
spheretoscreen(h,v,x,y); set(is_visible,true); if(x != 0, ifnot(x, set(is_visible,false); )); copy(layer[NAME].visible, is_visible); if(is_visible, copy(layer[NAME].x,x); copy(layer[NAME].y,y); ); |
In this case I would say that the the wrong edge settings is used...the problem is that there is a noticeable delta in X and Y happening proportionally to where in the screen the hotspot is