thumbnails displaying image with transition...

Q&A about the latest versions
Post Reply
PLaine
Posts: 59
Joined: Thu Jun 15, 2017 3:56 pm

Hi

I've 3 thumbnails over the panorama. On mouseclick, each of them displays an image in the center of pano, with screentint behind.
I'm trying to set a fade-in transition but whatever I' doing, it doesn't work.
I've played with jann.ggsk skin and it works fine, even when I add an image; but there, it's a click on thumbnail which displays the image, not the init.
I've tried to change all parameters of timers (I tried 1 timer per image), thumbnails, images, maybe not the good ones, maybe not in the right sequence. (I've tried also with thumbnail slider with no success).
The only thing I succeded is to display the first image with transition, only once, then close it, and at second click only the screen tint shows.
Has someone the good recipe?

Thanks,

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

Hi Philippe,
If you use a number variable you can use logic blocks to show and hide using the Alpha logic block.
Then you can use a transition to fade them in and out.
You can use a numbers variable, example:
Add a numbered variable to the skin called popup, with default value 0.
The images would have Alpha logic blocks so when its number is active it will fad in.

0 = close
1 = image one
2 = image two
3 = image three
The screen tint can have the alpha logic block > 0 = Alpha 1.00.

You would then have set variable value actions in the buttons/thumbnails.
The close button only has to set the variable value back to 0.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
PLaine
Posts: 59
Joined: Thu Jun 15, 2017 3:56 pm

Hi Hopki,

Thanks.
As I'm not a programmer and my native language is not english, so it took a while before success :°)
But now it works fine!
Thanks again.

Regards,

Philippe
Post Reply