Page 1 of 1

Background of lightbox-effect

Posted: Thu Oct 18, 2018 6:05 pm
by Kai
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

Re: Background of lightbox-effect

Posted: Thu Oct 25, 2018 4:40 pm
by Hopki
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

Re: Background of lightbox-effect

Posted: Tue Oct 30, 2018 1:26 pm
by Chu
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

Re: Background of lightbox-effect

Posted: Tue Nov 06, 2018 2:50 pm
by Kai
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