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.
This post has been edited 9 times, last edit by "San7" (Sep 25th 2020, 5:53am)
This post has been edited 1 times, last edit by "San7" (Oct 28th 2018, 11:20am)
This post has been edited 1 times, last edit by "San7" (Nov 12th 2018, 4:24am)
![]() |
Source code |
1 |
<include url="plugins/hotspot_handler.xml"/> |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<hotspots_to_be_toggled> <supported_style name="kreuz"/> <supported_style name=".........."/> <supported_style name=".........."/> </hotspots_to_be_toggled> <action name="Hotspot_out_on"> 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, switch(hotspot[get(i)].visible); ); ); ); </action> |
This post has been edited 1 times, last edit by "San7" (Dec 13th 2018, 10:33am)
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
<action name="Hotspot_out_on"> 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), trace(j); if(hotspot[get(i)].style EQ hotspots_to_be_toggled.supported_style[get(j)].name, switch(hotspot[get(i)].alpha,1,0); switch(hotspot[get(i)].enabled); ); ); ); </action> |
This post has been edited 3 times, last edit by "San7" (Dec 13th 2018, 11:09am)
This post has been edited 1 times, last edit by "gunhill" (Dec 13th 2018, 8:54pm)