Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
I have a problem with hiding the hotspots. So far I could show and hide my hotspots via a button.
|
|
Quellcode |
1 2 3 |
<action name="startup" autorun="onstart"> set(hidden_hs,false); </action> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<action name="Hotspot_out_on">
switch(hidden_hs);
for(set(i,0), i LT hotspot.count, inc(i),
for(set(j,0), j LT hotspots_to_be_toggled.supported_style.count, inc(j),
if(hotspot[get(i)].style EQ hotspots_to_be_toggled.supported_style[get(j)].name,
if(hidden_hs, copy(hotspot[get(i)].visible_temp, hotspot[get(i)].visible);
copy(hotspot[get(i)].enabled_temp, hotspot[get(i)].enabled);
set(hotspot[get(i)].visible,false);
set(hotspot[get(i)].enabled,false);
,
copy(hotspot[get(i)].visible, hotspot[get(i)].visible_temp);
copy(hotspot[get(i)].enabled, hotspot[get(i)].enabled_temp);
);
);
);
);
</action>
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (14. Dezember 2018, 10:22)
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (28. Januar 2019, 15:25)
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »tefod« (8. Februar 2019, 14:43)
hey,
your plugin is really great and a big time saving benefit for krpano!
I hope this is not offtopic, to write it here:
I want to enable/disable as well a group of hotspots by a button; preferably in the Nav-Bar in the bottom.
I didnt understand to e hones, nor got it run :)
Can I ask for advices?
Thanks.
|
|
Quellcode |
1 2 3 |
<action name="startup" autorun="onstart"> set(hidden_hs,false); </action> |
|
|
Quellcode |
1 2 3 4 5 6 |
<hotspots_to_be_toggled>
<supported_style name="link_hs_sm"/>
<supported_style name="text_hs_sm"/>
<supported_style name="vid_hs_addhs"/>
<supported_style name="pl_hs_add_hs"/>
</hotspots_to_be_toggled>
|
|
|
Quellcode |
1 2 3 4 |
<layer name="test" style="pan_edit_link_SM" align="lefttop" y="10" x="100" width="80"
onclick="Hotspot_out_on();">
<layer name="test1" style="text_ELink_SM" align="center" x="0" y="0" html="тест" />
</layer>
|
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
<action name="Hotspot_out_on">
switch(hidden_hs);
for(set(i,0), i LT hotspot.count, inc(i),
for(set(j,0), j LT hotspots_to_be_toggled.supported_style.count, inc(j),
if(hotspot[get(i)].style EQ hotspots_to_be_toggled.supported_style[get(j)].name,
if(hidden_hs, copy(hotspot[get(i)].visible_temp, hotspot[get(i)].visible);
copy(hotspot[get(i)].enabled_temp, hotspot[get(i)].enabled);
set(hotspot[get(i)].visible,false);
set(hotspot[get(i)].enabled,false);
,
copy(hotspot[get(i)].visible, hotspot[get(i)].visible_temp);
copy(hotspot[get(i)].enabled, hotspot[get(i)].enabled_temp);
);
);
);
);
</action>
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (15. Februar 2019, 14:57)
Look at here"Added saving without editor files, significantly increases performance"
please. Can you explain me about this? how this work
Change inclusionhi
If I am working on a project with the previous version, how should I do to update to the new version and continue working on the project?
I try but due to the incorporation of new folders and change hosting xml files I could not do it correctly
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »San7« (14. Februar 2019, 06:46)
Yes, I forgot to display this moment above, correctedPerfect. With you suggestion and after addingI understand correctly - the plugin itself works.
Is there a problem in the code that disables all hotspots?
![]()
Quellcode
1 2 3 <action name="startup" autorun="onstart"> set(hidden_hs,false); </action>
..it worked flawlessly.