Auto showing and hiding title text box

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Hopki
Gnome
Posts: 9373
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Auto showing and hiding title text box

Post by Hopki » Mon Jun 12, 2017 9:16 pm

Hi,
I was asked about this through support e-mail and thought others would like to see how I would do this.
The task is to have a title text box that hides after so many seconds, in this example 4.
The text box is visible on open but hides after 4 seconds.
As you change nodes it shows again then hides again after the 4 seconds.

So how does it work, each pano has a title as set in the user data panel.
In the skin is a text box with the place holder $ut to display the title text.
The text box has a timer wrapped around it set for 4 second timeout, type init and repeat one time.
The timer then has the actions: Deactivate, Change Element Position: X:0/Y:-70, $self
And Activate, Change Element Position X: 0/Y: 0, $self.

The point hotspot has the action to set a value to the timer, 4 seconds.

So what will happen is when the project opens the timer starts, when it reaches 4 seconds it will stop so it deactivates and in so doing the action will move the position to -70px in the Y direction, minus means it will go up.

When you click the hotspot you set a vale of 4 to the timer, so 4 seconds, the timer becomes active, the action when active change position to Y: 0 so it moves down to its starting position. When the timer reaches 4 the timer deactivates and so it will changing position to -70 again.
Simple but effective.

Mods, you can change the action from change to set position when active so the text box it does not slide into view.
You can change the timer in the hotspot template to say 2 seconds, so after the first 4 seconds the others close after 2.
Regards,
Hopki
Attachments
hiding_title.zip
(734.74 KiB) Downloaded 116 times

User avatar
Shytsko
Posts: 48
Joined: Sat Dec 31, 2011 10:56 am
Location: Minsk, Belarus
Contact:

Re: Auto showing and hiding title text box

Post by Shytsko » Thu Jun 29, 2017 5:45 pm

If you want to see the title text box again, move the cursor to the "rectangle_1". If you move the cursor to the side, the title text box will be hidden.

Regards, Peter Shytsko.
Attachments
skin_1.ggsk.zip
(1.66 KiB) Downloaded 72 times

EmsiSi
Posts: 9
Joined: Tue May 01, 2018 4:23 pm

Re: Auto showing and hiding title text box

Post by EmsiSi » Tue May 01, 2018 8:04 pm

It is possible to replace text with pictures?

User avatar
Hopki
Gnome
Posts: 9373
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Auto showing and hiding title text box

Post by Hopki » Wed May 02, 2018 1:25 pm

And one that also does images.
Regards,
Hopki
Attachments
hiding_title_image.zip
(41.23 KiB) Downloaded 35 times

EmsiSi
Posts: 9
Joined: Tue May 01, 2018 4:23 pm

Re: Auto showing and hiding title text box

Post by EmsiSi » Wed May 02, 2018 8:56 pm

Thanks, it was done in pano2vr6, I have 5 version (bought before the week) and there do not do. Send me it version 5. Please. Please.

EmsiSi
Posts: 9
Joined: Tue May 01, 2018 4:23 pm

Re: Auto showing and hiding title text box

Post by EmsiSi » Wed May 02, 2018 10:23 pm

how to sign up for www.ggnome.com to download the upgrade to v6

User avatar
360Texas
Moderator
Posts: 3335
Joined: Sat Sep 09, 2006 6:06 pm
Location: Fort Worth, Texas USA
Contact:

Re: Auto showing and hiding title text box

Post by 360Texas » Thu May 03, 2018 1:05 am

https://ggnome.com/pano2vr

Scroll down to "Download" and click on your platform version. Download the free version and then buy the key.
Dave
Pano2VR Forum Global Moderator
Image
Visit 360texas.com

EmsiSi
Posts: 9
Joined: Tue May 01, 2018 4:23 pm

Re: Auto showing and hiding title text box

Post by EmsiSi » Thu May 03, 2018 10:13 am

yes i know, i have version 5.2.3. but should be a free upgrade to version 6

User avatar
Hopki
Gnome
Posts: 9373
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Auto showing and hiding title text box

Post by Hopki » Thu May 03, 2018 5:18 pm

Hi,
Login to your account and click the V6 upgrade option.
If you are entitled to a free upgrade then proceed like you are going to purchase however you will see purchase price will be €0.00.
You will not get any conformation as your not actually purchasing but give it a few minutes and you should get an e-mail and the V6 license will be placed in your account.
This is of course you purchased directly from the Garden Gnome Website.
If you purchased from a reseller then go back to them for the upgrade.
Regards,
Hopki

EmsiSi
Posts: 9
Joined: Tue May 01, 2018 4:23 pm

Re: Auto showing and hiding title text box

Post by EmsiSi » Fri May 04, 2018 11:03 am

Hi, I bought the program from the seller (panosociety.com at the end of April), and when I update the program so I ask for a license key,

User avatar
Hopki
Gnome
Posts: 9373
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Auto showing and hiding title text box

Post by Hopki » Fri May 04, 2018 11:34 am

Hi,
Yeah, then go back to panosociety.com for your upgrade.
Regards,
Hopki

EmsiSi
Posts: 9
Joined: Tue May 01, 2018 4:23 pm

Re: Auto showing and hiding title text box

Post by EmsiSi » Fri May 04, 2018 1:14 pm

Thank you very much. He's been sent to me by the seller.

EmsiSi
Posts: 9
Joined: Tue May 01, 2018 4:23 pm

Re: Auto showing and hiding title text box

Post by EmsiSi » Fri May 04, 2018 1:19 pm

I'm glad I bought your pano2vr program, I like ggnome forum and your care for us. Very very thanks

duceduc
Posts: 31
Joined: Sun Dec 11, 2016 5:39 pm

Re: Auto showing and hiding title text box

Post by duceduc » Wed Nov 21, 2018 1:06 am

I am using the zip provided by hopki & copied all the settings into my existing skin. What settings control the text box fading up? Mine just disappears. No fading; no sliding up.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests