Background of lightbox-effect

Q&A about the latest versions
Post Reply
Kai
Posts: 13
Joined: Tue Sep 11, 2018 12:15 pm

Hi,

I am using the Pano lightbox-effect in my project for pics and info. The background gets darker as it ought to be [ rgba(0, 0, 0, 0.392) ], but I would like to have it even darker. Is there any chance to set up different parameters?

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

Hi Kai,
Do you mean the background colour of a rectangle?
So a rectangle being used as a screen tint, as I would call it.
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/
User avatar
Chu
Posts: 97
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Kai wrote: Thu Oct 18, 2018 6:05 pm Is there any chance to set up different parameters?
Change the last operand,as in:
[ rgba(0, 0, 0, 1) ] - solid (opaque) black
[ rgba(0, 0, 0, 0.5) ] - half transparent
Using:
Pano2VR PRO 6.1.15 pro 64bit
build 18116/5.12.2

Windows 10 x64
Human Brain v1.3

Image

est.1971
Kai
Posts: 13
Joined: Tue Sep 11, 2018 12:15 pm

Thank you. I solved it this way:

- opening the file skin.js
- searching for the expression "hs+='background : rgba(0,0,0,0.392157);" which is around line 381 in my project
- replacing the parameters (first three digits for background rgb parameters), last digit for transparency (which I set to 0.7)

Rgs Kai
Post Reply