Background of lightbox-effect

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

Background of lightbox-effect

Post by Kai » 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: 9269
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Background of lightbox-effect

Post by Hopki » 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

User avatar
Chu
Posts: 89
Joined: Tue Jan 10, 2012 1:59 pm
Location: London, UK
Contact:

Re: Background of lightbox-effect

Post by Chu » 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 5.2.5 pro 64 bit
build 15998/5.7.1

fancybox v3.2.5
Windows 10 v1709
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

Re: Background of lightbox-effect

Post by Kai » 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

Who is online

Users browsing this forum: Exabot [Bot] and 7 guests