Lightbox

<script>
    jQuery(document).ready(function($) {
        $("#slider-wrapper").transitionSlider({
            // example of lightbox options for layer elements onClick "lightbox" mode
            lightbox: {
                backgroundColor: "rgba(0, 0, 0, 0.95)",
                closeColor: "#ffffff"
            }
        });
    });
</script>

Parameter

Type

Default

Description

lightbox

object

Object with lightbox parameters.

{

backgroundColor

string

"rgba(0,0,0,0.95)"

Background color of the lightbox. Example format: "#FF0000"(more details here)

closeColor

string

"#ffffff"

Color of the close button element. Example format: "#FF0000"(more details here)

}

Last updated