Hi there, i'm doing a Virtual tour that consists of three types of info spot to show infomations of particular place such as structure, decoration and security .
i've created three buttons for each type to show/hide each type of infospot.
problem is i can't find a solution to hide them by type, i can do one by one but it's gonna be too messy coding.
i've tried "style" but didn't seems to work
Code
<style name="info1"
url="data/button/info.png"
edge="center"
/>
<plugin
name="info_off"
keep="true"
url="data/infooff.png"
scale="0.5"
visible="true"
align="leftbottom"
edge="leftbottom"
x="10" y="10"
blendmode="screen"
onhover="showtext(Hide Infospots);"
onclick="set(visible,false);
set(plugin[info_on].visible,true);
set(hotspot[style(info1)].visible,false);"
/>
<plugin
name="info_on"
keep="true"
url="data/infoon.png"
scale="0.5"
visible="false"
align="leftbottom"
edge="leftbottom"
x="10" y="10"
blendmode="normal"
onhover="showtext(Show Infospots);"
onclick="set(visible,false);
set(plugin[info_off].visible,true);
set(hotspot[style(info1)].visible,true);"
/>
Display More
any suggest?
Thank all in advance!