You are not logged in.

1

Thursday, November 12th 2020, 8:05pm

Invisible hotspot when full screen

Is it possible to make a hotspot disappear when the panorama is made full screen?
For exemple:

Source code

1
<hotspot name="z847" url="imag/lupa_mas.png" scale="0.3"  ath="94" atv="2"" />

I want this hotspot not to be visible when the panorama is full screen.
Thank you

San7

Professional

Posts: 626

Occupation: coding in krpano

  • Send private message

2

Friday, November 13th 2020, 8:29am

Try this

Source code

1
2
3
<events onenterfullscreen="set(hotspot[z847].visible, false); set(hotspot[z847].enabled, false);"
	onexitfullscreen="set(hotspot[z847].visible, true); set(hotspot[z847].enabled, true);"               
/>