Thanks Mael B.
unfortunately
in post https://krpano.com/forum/wbb/inde…&threadID=10486
Klaus said : hotspots can't have a parent.
Thanks Mael B.
unfortunately
in post https://krpano.com/forum/wbb/inde…&threadID=10486
Klaus said : hotspots can't have a parent.
Hello I would like to add a border to a hotspot image.
How to do ? (krpano-1.19-pr13)
<action name="add_hotspot_image">
set(hs_name, 'img_2');
addhotspot(get(hs_name));
copy(hs, hotspot[get(hs_name)]);
set(hs.style, '' );
hs.loadstyle('flyoutimage');
set(hs.visible, true);
set(hs.ath, 60);
set(hs.atv, 54);
set(hs.oy, 0);
set(hs.rx, -22.5);
set(hs.ry, -26.25);
set(hs.rz, -50.1);
set(hs.scale, 0.075);
set(hs.width, 1600 );
set(hs.height, 1067 );
set(hs.url, 'imgs/image.jpg');
set(hs.onover, '' );
set(hs.ondown, "draghotspot();" );
</action>
Alles anzeigen
I added the following line and it does not work
Other solution if possible ...
How to add the following layer parent to the hotspot in <action>?
<layer name="skin_thumb_border" type="container" x="0" y="0" zorder="1000" width="1604" height="1071" visible="true" enabled="false" align="" bgborder="get:skin_settings.design_thumbborder_bgborder" bgroundedge="get:skin_settings.design_thumbborder_bgroundedge" scale="0.075" />
I am desperate
please waiting for your answer
Hello
in the example 'cylinder-grid-hotspots.xml'
I would like to get a mosaic with
calc_spherical_offset is not suitable for calculating 'ATH'. the hotspots are superimposed.
by what to replace this line
by what to replace this action
<action name="calc_spherical_offset">
Math.atan2(a, %1, 500);
calc(%2, a * 180.0 / Math.PI);
</action>
<action name="calc_not_spherical_offset">
...????...
</action>
help me please
Thank you for your answer, unfortunately with the corrections it still does not work in the first example, nor in the second.
To test, I copy / paste my code in your example 'demotour-kuchlerhaus'
just before the scenes and I still do not see the text :' (
Please help me.
Bonjour j'ai un problème...
Je ne comprend pas pourquoi le texte ne s'affiche pas !
Hello I have a problem ...
I do not understand why the text is not displayed!
<layer name="list_scenes" keep="true" type="container" align="centertop" width="400" height="100%" x="0" y="0" bgcolor="0xFFFFFF" bgalpha="0.7">
<layer name="layer_scrollarea" url.flash="%SWFPATH%/plugins/scrollarea.swf" url.html5="%SWFPATH%/plugins/scrollarea.js" align="center" width="227" height="100%" direction="v" onloaded="setcenter(0,0);" />
</layer>
<action name="add_list_scene" autorun="onstart">
calc(layer[layer_scrollarea].height, scene.count*50);
for(set(i,0), i LT scene.count, inc(i),
calc(box_title,'box_title_' + i);
addlayer(get(box_title));
copy(layer[get(box_title)].url, "%SWFPATH%/plugins/textfield.swf");
set(layer[get(box_title)].keep, true);
set(layer[get(box_title)].parent, 'layer_scrollarea');
set(layer[get(box_title)].align, centertop);
set(layer[get(box_title)].x, 0);
set(layer[get(box_title)].y, calc(i*50));
set(layer[get(box_title)].width, 300);
set(layer[get(box_title)].height, 50);
set(layer[get(box_title)].visible, true);
set(layer[get(box_title)].background, false )
set(layer[get(box_title)].css, 'color:#000000; font-family:Arial; font-size:16px;' );
set(layer[get(box_title)].html, get(scene[get(i)].title));
);
</action>
Alles anzeigen
variante qui ne marche pas non plus!
variant that does not work either!
<action name="add_list_scene" autorun="onstart">
calc(layer[layer_scrollarea].height, scene.count*50);
for(set(i,0), i LT scene.count, inc(i),
calc(box_container,'box_container_' + i);
addlayer(get(box_container));
set(layer[get(box_container)].keep, true);
set(layer[get(box_container)].type, container);
set(layer[get(box_container)].parent, 'layer_scrollarea');
set(layer[get(box_container)].align, centertop);
set(layer[get(box_container)].x, 0);
set(layer[get(box_container)].y, calc(i*50));
set(layer[get(box_container)].width, 300);
set(layer[get(box_container)].height, 50);
set(layer[get(box_container)].visible, true);
calc(box_title,'box_title_' + i);
addlayer(get(box_title));
copy(layer[get(box_title)].url, "%SWFPATH%/plugins/textfield.swf");
set(layer[get(box_title)].keep, true);
set(layer[get(box_title)].parent, layer[get(box_container)]);
set(layer[get(box_title)].align, centertop);
set(layer[get(box_title)].x, 0);
set(layer[get(box_title)].y, 0);
set(layer[get(box_title)].width, 300);
set(layer[get(box_title)].height, 50);
set(layer[get(box_title)].visible, true);
set(layer[get(box_title)].background, false )
set(layer[get(box_title)].css, 'color:#000000; font-family:Arial; font-size:16px;' );
set(layer[get(box_title)].html, get(scene[get(i)].title));
);
</action>
Alles anzeigen
meme si je met cette ligne à la place ca ne change rien
even if I put this line instead it does not change anything
que dois je faire ? (j'utilise krpano-1.19-pr3)
what should I do ? (I use krpano-1.19-pr3)