Background of lightbox-effect

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

Thu Oct 18, 2018 6:05 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: 10444
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Thu Oct 25, 2018 4:40 pm

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
Hopki
Garden Gnome Software 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: 89
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Tue Oct 30, 2018 1:26 pm

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.5 pro 64bit
build 17926/5.12.2

Windows 10 x64
Human Brain v1.0

Image

Artwork
  • Aerosol
  • Design
  • Screen
Specialist
  • 360°
  • Stereoscopy
  • Illusions
Concept
  • Consultancy
  • Campaigns
  • Data
  • Education
est.1971
Kai
Posts: 7
Joined: Tue Sep 11, 2018 12:15 pm

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