You are not logged in.

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.

1

Friday, March 10th 2017, 9:59pm

Action for multiple hotspots

I've worked out a tween action that works great for a single hotspot, but if I wanted it to work with multiple hot spots, how can I modify?

Source code

1
	<action name ="onover">	tween(hotspot[hs2].alpha,1);	</action>		<action name="onout">	tween(hotspot[hs2].alpha,0);	</action>

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

2

Friday, March 10th 2017, 10:32pm

Try with styles:

Source code

1
2
3
<style name="your_style" keep="true" onover="tween(alpha,1);" onout="tween(alpha,0);" />	
<hotspot name="hs_1" style="your_style" ath="1" atv="45" . . . ./>
<hotspot name="hs_1" style="your_style" ath="10" atv="25" . . . ./>

3

Monday, March 13th 2017, 2:47pm

Thank you.

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

4

Monday, March 13th 2017, 3:01pm

*thumbup*