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

Tue May 05, 2020 1:09 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

Tue May 05, 2020 3:35 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: 904
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Wed May 06, 2020 3:07 pm

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: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/
andik2000
Posts: 6
Joined: Mon May 04, 2020 12:41 pm

Thu May 07, 2020 7:44 pm

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

Thu May 07, 2020 11:34 pm

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: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/
Post Reply