📓
Transition Slider jQuery
  • Welcome
  • Getting started
    • Slider Project Setup
  • Slider Options
    • General
    • Size
    • Autoplay
    • Video
    • Navigation
    • Wheel Navigation
    • Pagination
    • Thumbnails
    • Hash Navigation
    • Loading
    • Lightbox
  • Slide Options
    • Slide parameters
    • Transitions
  • Layer Options
    • Layer parameters
    • Element parameters
  • Special notes
    • Running things locally
Powered by GitBook
On this page

Was this helpful?

  1. Slider Options

Lightbox

PreviousLoadingNextSlide parameters

Last updated 4 years ago

Was this helpful?

<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 )

closeColor

string

"#ffffff"

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

}

here
here