Darker background overlay

Permalink Browser Info Environment
Hi
Just wondering if its possible to make the background page overlay darker. Looked through some of the files but can't seem to find it.

Thanks
Karl

Type: Discussion
Status: New
abovecreative
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
The lightbox images are in /packages/deluxe_image_gallery/blocks/deluxe_image_gallery/fancybox/images/

Note that you may also need to tweak the styles in /packages/deluxe_image_gallery/blocks/deluxe_image_gallery/fancybox/jquery.fancybox-1.3.1.css

If you require more assistance customizing the lightbox, there's a google group for it here:
http://groups.google.com/group/fancybox...

Good luck, and let me know if there's anything else I can answer for you or help with.

-Jordan
okapi replied on at Permalink Reply
okapi
I think what Karl meant was the opacity defined in the file jquery.fancybox-1.3.4.pack.js. Can that file be overridden by being placed as a modified copy in a custom template folder?
So far it seems that i have no luck while trying this out...

Michael
jordanlev replied on at Permalink Reply
jordanlev
Ahh, perhaps I misunderstood. If you mean the opacity of the overlay that makes the rest of the page darker (that is, everything except the lightbox itself), there are two options you can pass into the fancybox init code, down near the bottom of packages/deluxe_image_gallery/blocks/deluxe_image_gallery/view.php:

overlayOpacity
overlayColor

(seehttp://fancybox.net/api for details on the values you can set).

Let me know if you need assistance figuring out how to get these into the template.

-Jordan
okapi replied on at Permalink Reply
okapi
Thanks for the hint, but i can't find 'overlayOpacity' and
'overlayColor' in view.php...

Michael
jordanlev replied on at Permalink Reply
jordanlev
Around line #47, you'll find this:
'titlePosition' : '<?php echo $lightboxTitlePosition; ?>',


Insert a new line below that and add these two new lines:
'overlayOpacity' : 0.3, //<--number from 0 to 1
'overlayColor' : '#666', //<--hex color code
okapi replied on at Permalink Reply
okapi
Sorry, i was too stupid to realize that i had to insert it...
Great, now i'm able to create custom templates to provide exactly the look and functionality that i need.

Thank you so much!

Michael

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.