Timer reset - Window auto-hide - how to?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
andik2000
Posts: 6
Joined: Mon May 04, 2020 12:41 pm

Hi all together,

i want to have an info-text that appears when clicking on a hotspot and disappears automatically after 3 seconds.
So I used a timer - but it starts every time the pano was loaded and not by click on the hotspot.
Also it should be possible to click on the hotspot again. On every click the text should appear and auto-hide after 3 sec.

Thanks,
Andi
andik2000
Posts: 6
Joined: Mon May 04, 2020 12:41 pm

Solved by myself.
I found the right way to set the timer to manual and start it by a mouse-click event.
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Great to see you solved it yourself, that's the best way.

You might be interested to take a look at a tutorial I've done called Auto-Close Hotspot https://tonyredhead.com/pano2vr-little- ... lose-popup

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
andik2000
Posts: 6
Joined: Mon May 04, 2020 12:41 pm

Great tutorial, thanks!
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

andik2000 wrote: Thu May 07, 2020 7:44 pm Great tutorial, thanks!
Hi, appreciate the feedback :D

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply